Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Jun 6, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/hwmon/pmbus/adm1275.c: In function 'adm1275_write_pmon_config':
drivers/hwmon/pmbus/adm1275.c:179:23: warning: unused variable 'data' [-Wunused-variable]

  struct adm1275_data *data = to_adm1275_data(info);
                       ^~~~

Introduced by commit

438318513375 ("hwmon: (pmbus/adm1275) support PMBUS_VIRT_*_SAMPLES")

Signature · 2 lines
Cheers,
Stephen Rothwell