[ofw] [PATCH] add __inline attribute
Tzachi Dar
tzachid at mellanox.co.il
Mon Jul 11 23:31:30 PDT 2011
Yes please.
> -----Original Message-----
> From: Smith, Stan [mailto:stan.smith at intel.com]
> Sent: Tuesday, July 12, 2011 2:56 AM
> To: Tzachi Dar
> Cc: ofw at lists.openfabrics.org
> Subject: [PATCH] add __inline attribute
>
> Hello,
> This addition is in the ROCE branch and not in the mainline. Seems like a
> reasonable addition?
> Should I go ahead and commit?
>
> Stan.
>
> --- inc/kernel/work_queue.h Mon Jul 11 15:53:47 2011
> +++ inc/kernel/work_queue.h Thu Jun 30 13:49:02 2011
> @@ -43,7 +43,7 @@
>
> } WORK_ENTRY;
>
> -static void WorkEntryInit(WORK_ENTRY *pWork,
> +static __inline void WorkEntryInit(WORK_ENTRY *pWork,
> void (*WorkHandler)(struct
> _WORK_ENTRY *Work), void *Context)
> {
> pWork->WorkHandler = WorkHandler;
More information about the ofw
mailing list