On 2/10/20 2:23 PM, Stephen Rothwell wrote:
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")
Fixed up (res was actually leftover from an earlier patch version and unused). Guenter