lkml.org 
[lkml]   [2016]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2016-01-26 17:01    [W:0.047 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site