Re: IA32 - 27 New warnings

From: Greg KH
Date: Thu Sep 18 2003 - 13:25:36 EST


On Wed, Sep 17, 2003 at 11:23:03PM -0700, John Cherry wrote:
> drivers/usb/class/usb-midi.h:150: warning: `usb_midi_ids' defined but not used

Hm, what compiler version are you using to get this warning?
This should not be happening (the usb_midi_ids are used in the
MODULE_DEVICE_TABLE() macro to export the info to userspace), and I
can't duplicate the warning here with gcc versions 3.3.1 or 2.96 (Red
Hat rawhide and Red Hat 7.3 respectively)

thanks,

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