[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bn8a9qvn.wl%kuninori.morimoto.gx@renesas.com>
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