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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 25 Jan 2016 05:24:26 +0000
From:	Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To:	Liam Girdwood <lgirdwood@...il.com>,
	Mark Brown <broonie@...nel.org>
CC:	<linux-kernel@...r.kernel.org>
Subject: regulator_lock_supply warning: unused variable 'i'


Hi Mark, Liam, and all

I always get this warning from regulator_lock_supply

	LINUX/drivers/regulator/core.c: In function 'regulator_lock_supply':
	LINUX/drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
	  int i = 0;

my .config has

	> grep CONFIG_DEBUG_LOCK_ALLOC .config
	# CONFIG_DEBUG_LOCK_ALLOC is not set


I don't like this bad idea, but...

	#ifdef CONFIG_DEBUG_LOCK_ALLOC
		int i = 0;
	#endif

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ