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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux