Re: 2.4.13 errors and warnings

Greg KH (greg@kroah.com)
Sun, 28 Oct 2001 10:03:17 -0800


On Sun, Oct 28, 2001 at 08:58:36PM +1100, Keith Owens wrote:
>
> drivers/usb/serial/belkin_sa.c:106: warning: `id_table_combined' defined but not used
> drivers/usb/serial/digi_acceleport.c:480: warning: `id_table_combined' defined but not used
> drivers/usb/serial/ftdi_sio.c:137: warning: `id_table_combined' defined but not used
> drivers/usb/serial/io_tables.h:33: warning: `id_table_combined' defined but not used
> drivers/usb/serial/keyspan.h:349: warning: `keyspan_ids_combined' defined but not used
> drivers/usb/serial/keyspan_pda.c:146: warning: `id_table_combined' defined but not used
> drivers/usb/serial/mct_u232.c:129: warning: `id_table_combined' defined but not used
> drivers/usb/serial/visor.c:171: warning: `id_table' defined but not used
> drivers/usb/serial/whiteheat.c:116: warning: `id_table_combined' defined but not used

These, and lots of the other pci_id table warnings are due to the tables
being used for MODULE_DEVICE_TABLE() information. When the code is not
compiled as modules, those tables are not needed.

Hm, I guess I should look into some kind of macro to keep this from
happening...

thanks,

greg k-h
-
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/