Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ip2 warning fix

Make this:

drivers/char/ip2/ip2main.c: In function 'ip2_loadmain':
drivers/char/ip2/ip2main.c:654: warning: control may reach end of non-void function 'iiSetAddress' being inlined
drivers/char/ip2/ip2main.c:808: warning: control may reach end of non-void function 'iiInitialize' being inlined

go away.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
2723f960 3771a450

+2 -2
+2 -2
drivers/char/ip2/i2ellis.h
··· 606 606 // code and returning. 607 607 // 608 608 #define COMPLETE(pB,code) \ 609 - if(1){ \ 609 + do { \ 610 610 pB->i2eError = code; \ 611 611 return (code == I2EE_GOOD);\ 612 - } 612 + } while (0) 613 613 614 614 #endif // I2ELLIS_H