lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 27 Oct 2014 16:33:58 +0100
From:	Jean Delvare <jdelvare@...e.de>
To:	Jim Davis <jim.epost@...il.com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next <linux-next@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>, linux@...ck-us.net,
	lm-sensors@...sensors.org
Subject: Re: randconfig build error with next-20141027, in
 drivers/hwmon/i5500_temp.c

Hi Jim,

On Mon, 27 Oct 2014 07:50:09 -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
>   CC [M]  drivers/hwmon/i5500_temp.o
> drivers/hwmon/i5500_temp.c:145:1: warning: data definition has no type
> or storage class [enabled by default]
>  module_pci_driver(i5500_temp_driver);
>  ^
> drivers/hwmon/i5500_temp.c:145:1: error: type defaults to ‘int’ in
> declaration of ‘module_pci_driver’ [-Werror=implicit-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: ‘i5500_temp_driver’
> defined but not used [-Wunused-variable]
>  static struct pci_driver i5500_temp_driver = {
>                           ^
> 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.

-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists