tree: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-5.18/apple head: 4ea1e06cd2f1db285e662ef20f78fff5f5f32824 commit: 4ea1e06cd2f1db285e662ef20f78fff5f5f32824 [9/9] HID: apple: properly reflect LEDS dependency config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220217/202202171901.BwyfQMby-lkp@xxxxxxxxx/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?id=4ea1e06cd2f1db285e662ef20f78fff5f5f32824 git remote add hid https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git git fetch --no-tags hid for-5.18/apple git checkout 4ea1e06cd2f1db285e662ef20f78fff5f5f32824 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): /usr/bin/ld: drivers/input/input-leds.o: in function `input_leds_disconnect': >> input-leds.c:(.text+0x18): undefined reference to `led_classdev_unregister' /usr/bin/ld: drivers/input/input-leds.o: in function `input_leds_connect': >> input-leds.c:(.text+0x24c): undefined reference to `led_classdev_register_ext' >> /usr/bin/ld: input-leds.c:(.text+0x2b3): undefined reference to `led_classdev_unregister' /usr/bin/ld: drivers/hid/hid-apple.o: in function `apple_probe': hid-apple.c:(.text+0x7d2): undefined reference to `devm_led_classdev_register_ext' collect2: error: ld returned 1 exit status Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for LEDS_CLASS Depends on NEW_LEDS Selected by - HID_APPLE && INPUT && HID --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx