linux-next: build warning after merge of the hwmon-staging tree

From: Stephen Rothwell
Date: Mon Feb 10 2020 - 17:23:39 EST


Hi all,

After merging the hwmon-staging tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/hwmon/axi-fan-control.c: In function 'axi_fan_control_probe':
drivers/hwmon/axi-fan-control.c:419:26: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
419 | (unsigned long long)res->start, ctl->base);
| ^~

Introduced by commit

690dd9ce04f6 ("hwmon: Support ADI Fan Control IP")

--
Cheers,
Stephen Rothwell

Attachment: pgpKtTvZWngPR.pgp
Description: OpenPGP digital signature