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

From: Andrew Morton
Date: Mon Nov 23 2009 - 17:20:03 EST


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().
--
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/