[lkml]   [2003]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: IA32 - 27 New warnings

    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 :

    gcc -Wp,-MD,drivers/usb/class/.usb-midi.o.d -D__KERNEL__ -Iinclude -Wall
    -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
    -pipe -mpreferred-stack-boundary=2 -march=i686
    -Iinclude/asm-i386/mach-default -g -nostdinc -iwithprefix include
    -DKBUILD_BASENAME=usb_midi -DKBUILD_MODNAME=usb_midi -c -o
    drivers/usb/class/.tmp_usb-midi.o drivers/usb/class/usb-midi.c
    drivers/usb/class/usb-midi.h:150: warning: `usb_midi_ids' defined but not

    Jesper Juhl <>

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:48    [W:0.019 / U:9.444 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site