Skip to contentSkip to conversation

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

DISCUSSION David Härdeman 2 participants 2 messages Mar 19, 2010

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
David Härdeman
#1 lore raw

Am Freitag, den 19.03.2010, 23:17 +0100 schrieb David Härdeman:

Quoted 9 lines

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

Please send a patch