On Tue, 1 Sep 2015, Mark Brown wrote:
On Tue, Sep 01, 2015 at 09:52:13AM +0900, Krzysztof Kozlowski wrote:
2015-09-01 1:41 GMT+09:00 Keith Busch :
int regulator_is_enabled_regmap(struct regulator_dev *rdev)
{
- unsigned int val;
+ unsigned int uninitialized_var(val);
int r
On Tue, Sep 01, 2015 at 09:52:13AM +0900, Krzysztof Kozlowski wrote:
> 2015-09-01 1:41 GMT+09:00 Keith Busch :
> > Some compilers complain of possible uninitialized variable usage, like
> > the following:
> > drivers/regulator/helpers.c: In function ‘regulator_get_bypass_regmap’:
> > drivers/r
2015-09-01 1:41 GMT+09:00 Keith Busch :
> Some compilers complain of possible uninitialized variable usage, like
> the following:
>
> drivers/regulator/helpers.c: In function ‘regulator_get_bypass_regmap’:
> drivers/regulator/helpers.c:463:16: warning: ‘val’ may be used
> uninitialized in this
Some compilers complain of possible uninitialized variable usage, like
the following:
drivers/regulator/helpers.c: In function ‘regulator_get_bypass_regmap’:
drivers/regulator/helpers.c:463:16: warning: ‘val’ may be used uninitialized
in this function [-Wuninitialized]
The code is safe thoug
4 matches
Mail list logo