Re: [PATCH 5/7] kfifo: add DEFINE_KFIFO and friends, add very tinyfunctions

From: Stefani Seibold
Date: Tue Nov 24 2009 - 01:52:34 EST


Am Montag, den 23.11.2009, 14:19 -0800 schrieb Andrew Morton:
> On Fri, 20 Nov 2009 09:27:13 +0100
> Stefani Seibold <stefani@xxxxxxxxxxx> wrote:
>
> > +#define __kfifo_initializer(s, b) \
> > + (struct kfifo) { \
> > + .size = s, \
> > + .in = 0, \
> > + .out = 0, \
> > + .buffer = b \
> > + }
>
> This could be #undef'ed after its last invokation, assuming that it is
> not intended that .c files use __kfifo_initializer().

Will be fixed...


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/