Supress warning caused by label being
PATCH 1/1 Supress warning caused by label being
When the macro __ISAPNP__' is undefined, the label ready' is defined but the only corresponding goto statement isn't . This results in a warning from the compiler. To avoid this message, a goto ready' statement is added _just_ above the label. Thus, when __ISAPNP__' isn't defined, the newly added `goto ready' is a noop and the compiler is quiet.
isdn/hisax/diva.c 2005-05-18 22:33:26.745944000 -0700 renamed from isdn/hisax/diva.c~ 2005-05-18 22:34:44.074178000 -0700 +1 -0
@@ -1101,6 +1101,7 @@ setup_diva(struct IsdnCard *card) bytecnt = 32; } } + goto ready; /* Assure that `ready' is used even if `__ISAPNP__' isn't. */ ready: printk(KERN_INFO "Diva: %s card configured at %#lx IRQ %d\n",
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 1/1 Supress warning caused by label being
When the macro __ISAPNP__' is undefined, the label ready' is defined but the only corresponding goto statement isn't . This results in a warning from the compiler. To avoid this message, a goto ready' statement is added _just_ above the label. Thus, when __ISAPNP__' isn't defined, the newly added `goto ready' is a noop and the compiler is quiet.
drivers/isdn/hisax/diva.c 2005-05-18 22:33:26.745944000 -0700 renamed from drivers/isdn/hisax/diva.c~ +1 -0
@@ -1101,6 +1101,7 @@ setup_diva(struct IsdnCard *card) bytecnt = 32; } } + goto ready; /* Assure that `ready' is used even if `__ISAPNP__' isn't. */ ready: printk(KERN_INFO "Diva: %s card configured at %#lx IRQ %d\n",
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors