Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 3 messages Feb 9, 2025 – Feb 11, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

ERROR: modpost: "led_mc_calc_color_components" [drivers/hid/hid-lg-g15.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [drivers/hid/hid-lg-g15.ko] undefined!

Caused by commit

a3a064146c50 ("HID: hid-lg-g15: Use standard multicolor LED API")

# CONFIG_LEDS_CLASS_MULTICOLOR is not set

I have used the hid tree from next-20250207 for today.

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

Hi all,

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

ERROR: modpost: "led_mc_calc_color_components" [drivers/hid/hid-lg-g15.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [drivers/hid/hid-lg-g15.ko] undefined!

Quoted 7 lines

Caused by commit

a3a064146c50 ("HID: hid-lg-g15: Use standard multicolor LED API")

# CONFIG_LEDS_CLASS_MULTICOLOR is not set

I have used the hid tree from next-20250207 for today.

Indeed, this was reported by 0day bot as well.

Kate, are you planning to send a fix please?

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw

Hi Jiri,

Quoted 15 lines · Jiri Kosina
Quoted 12 lines · Stephen Rothwell

Hi all,

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

ERROR: modpost: "led_mc_calc_color_components" [drivers/hid/hid-lg-g15.ko] undefined!
ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [drivers/hid/hid-lg-g15.ko] undefined!

Caused by commit

a3a064146c50 ("HID: hid-lg-g15: Use standard multicolor LED API")

Quoted 7 lines
Quoted 3 lines

# CONFIG_LEDS_CLASS_MULTICOLOR is not set

I have used the hid tree from next-20250207 for today.

Indeed, this was reported by 0day bot as well.

Kate, are you planning to send a fix please?

Yes.
It is a dependency issue in Kconfig.
Since the LED multicolour APIs are used, I'll add an LEDS_CLASS_MULTICOLOR dependency to HID_LOGITECH.

Thank you :)

Quoted 7 lines

Thanks,

--
Jiri Kosina
SUSE Labs

Signature · 2 lines
BR,
Kate