Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 20 Mar 2003 14:13:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 20 Mar 2003 14:13:08 -0500 Received: from e31.co.us.ibm.com ([32.97.110.129]:3458 "EHLO e31.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Thu, 20 Mar 2003 14:13:07 -0500 Date: Thu, 20 Mar 2003 11:13:43 -0800 From: "Martin J. Bligh" To: Greg KH cc: Christoph Hellwig , Jes Sorensen , Jeff Garzik , linux-kernel Subject: Re: [PATCH] Fixup warning for acenic Message-ID: <413920000.1048187623@flay> In-Reply-To: <20030320192020.GB3315@kroah.com> References: <14240000.1048146629@[10.10.2.4]> <20030320160440.A14435@infradead.org> <9590000.1048176717@[10.10.2.4]> <20030320192020.GB3315@kroah.com> X-Mailer: Mulberry/2.1.2 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 26 >> > 2.4.9 of course has the newstyle pci interface! And actual hotplug >> > PCI support also is in all today singnificant 2.4.9 forks (RH..). >> > >> > There's even some shim to emulate the pci_driver style interface on >> > 2.2. >> > >> > Anyway, this table has another use, it's used by userland ools like >> > installers for selecting the right driver for a given pci device. So >> > even if it seems unused from kernelspace it has a use. >> >> Are they kmem diving? Or parsing source code? > > They are looking at the modules.pcimap files which are generated from > depmod, which pull it from the object files. Hmmm ... so we're going to get a compiler warning for every hotpluggable driver? or is this just an error in the way acenic does it? Seems like the latter, but it's not clear to me how to fix it up properly ... If it's the former, we need a better solution ;-) M. - 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/