include/linux/kfifo.h - INIT_KFIFO() broken?
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
Am Freitag, den 19.03.2010, 23:17 +0100 schrieb David Härdeman:
Quoted 9 lines
The current
include/linux/kfifo.hheader defines__kfifo_initializerat line 59 and undefines it at line 105.INIT_KFIFO()uses__kfifo_initializersoINIT_KFIFOis 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_KFIFOshould be fixed (and that goes for 2.6.33.X as well).
Please send a patch