From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: randconfig build error with next-20141027, in drivers/hwmon/i5500_temp.c Date: Mon, 27 Oct 2014 16:33:58 +0100 Message-ID: <20141027163358.1754a025@endymion.delvare> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:54679 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699AbaJ0PfH convert rfc822-to-8bit (ORCPT ); Mon, 27 Oct 2014 11:35:07 -0400 In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: Jim Davis Cc: Stephen Rothwell , linux-next , linux-kernel , linux@roeck-us.net, lm-sensors@lm-sensors.org Hi Jim, On Mon, 27 Oct 2014 07:50:09 -0700, Jim Davis wrote: > Building with the attached random configuration file, >=20 > CC [M] drivers/hwmon/i5500_temp.o > drivers/hwmon/i5500_temp.c:145:1: warning: data definition has no typ= e > or storage class [enabled by default] > module_pci_driver(i5500_temp_driver); > ^ > drivers/hwmon/i5500_temp.c:145:1: error: type defaults to =E2=80=98in= t=E2=80=99 in > declaration of =E2=80=98module_pci_driver=E2=80=99 [-Werror=3Dimplici= t-int] > drivers/hwmon/i5500_temp.c:145:1: warning: parameter names (without > types) in function declaration [enabled by default] > drivers/hwmon/i5500_temp.c:139:26: warning: =E2=80=98i5500_temp_drive= r=E2=80=99 > defined but not used [-Wunused-variable] > static struct pci_driver i5500_temp_driver =3D { > ^ > cc1: some warnings being treated as errors > make[2]: *** [drivers/hwmon/i5500_temp.o] Error 1 Thanks for the report. The driver should obviously depend on CONFIG_PCI, not sure how I managed to miss that :( I'll fix it immediately. --=20 Jean Delvare SUSE L3 Support