Messages in this thread | | | Date | Tue, 26 Jan 2016 15:21:46 +0000 | From | Mark Brown <> | Subject | Re: [PATCH] drivers: regulator: core: fix 'unused' warning |
| |
On Tue, Jan 26, 2016 at 04:09:13PM +0300, Yury Norov wrote: > Patch 9f01cd4a91 (regulator: core: introduce function to lock > regulators and its supplies) introduces function > regulator_lock_supply(). On my kernel it causes compile-time > error: > drivers/regulator/core.c: In function ‘regulator_lock_supply’: > drivers/regulator/core.c:142:6: warning: unused variable ‘i’ [-Wunused-variable]
You're not seeing this in mainline... [unhandled content-type:application/pgp-signature] | |