Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Jan 10, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

ld: warning: discarding dynamic section .glink
ld: warning: discarding dynamic section .plt
ld: linkage table error against `platform_profile_cycle'
ld: stubs don't match calculated size
ld: can not build stubs: bad value
ld: drivers/hid/hid-lenovo.o: in function `lenovo_raw_event':
hid-lenovo.c:(.text+0x8cc): undefined reference to `platform_profile_cycle'

Caused by commit

84c9d2a968c8 ("HID: lenovo: Support for ThinkPad-X12-TAB-1/2 Kbd Fn keys")

I have reverted that commit for today.

platform_profile_cycle() is not built unless CONFIG_ACPI_PLATFORM_PROFILE is defined.

Signature · 2 lines
Cheers,
Stephen Rothwell