Remark #424: Extra ";" ignored

There are several common cases where code will not be executed.

Example #1a: from Linux-2.6-rc3 file net/irda/ircomm/ircomm_tty.c

   1400
   1401 module_init(ircomm_tty_init);
   1402 module_exit(ircomm_tty_cleanup);

Example #1b: from Linux-2.6-rc3 file include/linux/init.h

    155  */
    156 #define module_init(x)  __initcall(x);
    157

How to resolve:

Either the semi-colon should be removed from line 1400 net/irda/ircomm/ircomm_tty.c or from line 156 in include/linux/init.h file

SourceForge.net Logo