Re: [Patch] Shut up warnings from files under drivers/

From: WANG Cong
Date: Sat Jan 26 2008 - 05:17:59 EST


On Sat, Jan 26, 2008 at 10:57:23AM +0100, Sam Ravnborg wrote:
>Hi WANG.
>On Sat, Jan 26, 2008 at 05:30:07PM +0800, WANG Cong wrote:
>>
>> Fix two kind of defined-but-not-used warnings.
>>
>> One is due to defination of MODULE_DEVICE_TABLE, the
>> other is due to __devexit_p. The solution is just to
>> add proper directives to protect those usages.
>
>Please include the actual warnings that you fix.
>

Sure.

Such as this one:

drivers/char/applicom.c:68: warning: âapplicom_pci_tblâ defined but not used

Others are similar.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/