Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 28, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the hwmon-staging tree, today's linux-next build (powerpc allyesconfig) failed like this:

drivers/hwmon/lm70.c: In function 'lm70_probe':
drivers/hwmon/lm70.c:186:34: error: 'lm70_acpi_ids' undeclared (first use in this function); did you mean 'lm70_of_ids'?

  186 |   acpi_match = acpi_match_device(lm70_acpi_ids, &spi->dev);
      |                                  ^~~~~~~~~~~~~
      |                                  lm70_of_ids

Caused by commit

02b925a9104d ("hwmon: (lm70) Add support for ACPI")

CONFIG_ACPI is not set.

I have reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 11 lines · Stephen Rothwell

Hi all,

After merging the hwmon-staging tree, today's linux-next build (powerpc allyesconfig) failed like this:

drivers/hwmon/lm70.c: In function 'lm70_probe':
drivers/hwmon/lm70.c:186:34: error: 'lm70_acpi_ids' undeclared (first use in this function); did you mean 'lm70_of_ids'?

  186 |   acpi_match = acpi_match_device(lm70_acpi_ids, &spi->dev);
      |                                  ^~~~~~~~~~~~~
      |                                  lm70_of_ids
Quoted 8 lines

Caused by commit

02b925a9104d ("hwmon: (lm70) Add support for ACPI")

CONFIG_ACPI is not set.

I have reverted that commit for today.

I fixed it up. And I'll have to add test builds with CONFIG_ACPI=n.

Guenter