include/linux/kfifo.h - INIT_KFIFO() broken?

From: David Härdeman
Date: Fri Mar 19 2010 - 18:27:33 EST


The current include/linux/kfifo.h header defines __kfifo_initializer at
line 59 and undefines it at line 105. INIT_KFIFO() uses
__kfifo_initializer so INIT_KFIFO is currently not usable unless
line 105 is removed (if I have analysed the problem correctly).

The updated kfifo patchset by Stefani Seibold seems to fix that particular problem, but if it isn't included in 2.6.34, then at least INIT_KFIFO should be fixed (and that goes for 2.6.33.X as well).

--
David Härdeman
--
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/