Skip to contentSkip to conversation

linux-next: build failure after merge of the battery tree

DISCUSSION Mark Brown 2 participants 2 messages Nov 16 – Nov 17 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the battery tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/power/supply/gpio-charger.c:26:35: error: variable 'gpio_charger_properties' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]

   26 | static enum power_supply_property gpio_charger_properties[] = {
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

Caused by commit

fad4655224f60 (power: supply: gpio-charger: Keep properties per device)

I have used the tree from next-20261113 instead.

#1 lore raw

Hi,

Quoted 8 lines · Mark Brown

Hi all,

After merging the battery tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/power/supply/gpio-charger.c:26:35: error: variable 'gpio_charger_properties' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]

   26 | static enum power_supply_property gpio_charger_properties[] = {
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines

1 error generated.

Caused by commit

fad4655224f60 (power: supply: gpio-charger: Keep properties per device)

I have used the tree from next-20261113 instead.

Should be fixed.

Thanks for the headsup,

-- Sebastian