From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262127AbTIRUwj (ORCPT ); Thu, 18 Sep 2003 16:52:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262129AbTIRUwj (ORCPT ); Thu, 18 Sep 2003 16:52:39 -0400 Received: from mail.kroah.org ([65.200.24.183]:15851 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S262127AbTIRUwh (ORCPT ); Thu, 18 Sep 2003 16:52:37 -0400 Date: Thu, 18 Sep 2003 13:52:50 -0700 From: Greg KH To: Jesper Juhl Cc: John Cherry , linux-kernel@vger.kernel.org Subject: Re: IA32 - 27 New warnings Message-ID: <20030918205250.GC1914@kroah.com> References: <200309180623.h8I6N3F4007504@cherrypit.pdx.osdl.net> <20030918182407.GB1846@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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