a dangling-else.
snip
#define for_each_registered_fb(i) \
for (i = 0; i < FB_MAX; i++)\
if (!registered_fb[i]) \
continue; \
else
snip
avoids that.
Kind
n but Sparse warns about "warning: expression using sizeof(void)".
gcc's -Wpointer-arith option also reports this.
Never tried it on the kernel though .....
Bernd
--
Bernd Petrovitsch Email : bernd at petrovitsch.priv.at
LUGA : http://www.luga.at
n but Sparse warns about "warning: expression using sizeof(void)".
gcc's -Wpointer-arith option also reports this.
Never tried it on the kernel though .....
Bernd
--
Bernd Petrovitsch Email : be...@petrovitsch.priv.at