Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1316210 > unrolled thread
| Started by | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
|---|---|
| First post | 2016-01-25 06:30 +0100 |
| Last post | 2016-01-26 01:10 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
regulator_lock_supply warning: unused variable 'i' Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - 2016-01-25 06:30 +0100
Re: regulator_lock_supply warning: unused variable 'i' Mark Brown <broonie@kernel.org> - 2016-01-25 13:10 +0100
Re: regulator_lock_supply warning: unused variable 'i' Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - 2016-01-26 01:10 +0100
| From | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
|---|---|
| Date | 2016-01-25 06:30 +0100 |
| Subject | regulator_lock_supply warning: unused variable 'i' |
| Message-ID | <qUHSW-7Cs-3@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2016-01-25 13:10 +0100 |
| Message-ID | <qUO83-3Gp-39@gated-at.bofh.it> |
| In reply to | #1316210 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Jan 25, 2016 at 05:24:26AM +0000, Kuninori Morimoto wrote: > I always get this warning from regulator_lock_supply Not in mainline you don't, it's fixed.
[toc] | [prev] | [next] | [standalone]
| From | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
|---|---|
| Date | 2016-01-26 01:10 +0100 |
| Message-ID | <qUZmO-3oM-11@gated-at.bofh.it> |
| In reply to | #1316598 |
Hi Mark > > I always get this warning from regulator_lock_supply > > Not in mainline you don't, it's fixed. Great! thanks
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web