lkml.org 
[lkml]   [2003]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IA32 - 27 New warnings
On Thu, Sep 18, 2003 at 10:45:18PM +0200, Jesper Juhl wrote:
>
>
> On Thu, 18 Sep 2003, Greg KH wrote:
>
> > 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)
> >
> I just tested this with gcc 3.2.2 (Slackware Linux 9.0) and I do get that
> warning :

Ah, it was pointed out to me offline, that if you build those drivers
into the kernel, and not as a module like I was doing, you will see
those warning messages.

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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.082 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site