Re: 2.4.8-pre4, lots of compile warnings

Keith Owens (kaos@ocs.com.au)
Mon, 06 Aug 2001 19:52:31 +1000


On Mon, 6 Aug 2001 11:49:10 +0200 (CEST),
Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> wrote:
>On Mon, 6 Aug 2001, Keith Owens wrote:
>> drivers/isdn/hisax/config.c:1720: warning: `hisax_pci_tbl' defined but not used
>> drivers/isdn/avmb1/b1pci.c:31: warning: `b1pci_pci_tbl' defined but not used
>> drivers/isdn/avmb1/t1pci.c:34: warning: `t1pci_pci_tbl' defined but not used
>> drivers/isdn/avmb1/c4.c:39: warning: `c4_pci_tbl' defined but not used
>
>I can think of multiple ways to fix this:
>
>o Move drivers to the new pci infrastructure. This is of course the
> best solution in the long run, but in many cases not appropriate for
> 2.4.
>o Add an __attribute__((unused)) to the definition of the table. Ugly.

Add attribute unused plus a BIG comment saying that the code should be
moved to the new pci infrastructure ASAP. Add the code to the janitor
list.

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