other.c:undefined reference to `devm_led_classdev_register_ext'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4b377b4868ef17b040065bd468668c707d2477a5 commit: 9426adb0326a87ed2fa9d010c4c18189047e0c11 platform/x86: x86-android-tablets: Create LED device for Xiaomi Pad 2 bottom bezel touch buttons date: 4 days ago config: i386-buildonly-randconfig-004-20240118 (https://download.01.org/0day-ci/archive/20240518/[email protected]/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240518/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
ld: drivers/platform/x86/x86-android-tablets/other.o: in function `xiaomi_mipad2_init':
>> other.c:(.init.text+0x97): undefined reference to `devm_led_classdev_register_ext'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Hi,
Quoted 8 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4b377b4868ef17b040065bd468668c707d2477a5 commit: 9426adb0326a87ed2fa9d010c4c18189047e0c11 platform/x86: x86-android-tablets: Create LED device for Xiaomi Pad 2 bottom bezel touch buttons date: 4 days ago config: i386-buildonly-randconfig-004-20240118 (https://download.01.org/0day-ci/archive/20240518/[email protected]/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240518/[email protected]/reproduce)
Quoted 9 lines
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>):
ld:
drivers/platform/x86/x86-android-tablets/other.o: in function `xiaomi_mipad2_init':Quoted 1 line
Quoted 1 line
other.c:(.init.text+0x97): undefined reference to `devm_led_classdev_register_ext'
My bad config X86_ANDROID_TABLETS now needs a "select NEW_LEDS" + "select LEDS_CLASS" I'll submit a patch fixing this and include it in the first pdx86 fixes pull-request for 6.10.
Regards,
Hans