tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git for-next head: 5add28d2f3575dffa33a9122e47c13c2374b5b31 commit: ea4117e6feaa0b5060a2529fe240626e55420adf [56/57] leds: Replace {devm_}led_classdev_register() macros with inlines config: i386-randconfig-h002-201934 (attached as .config) compiler: gcc-7 (Debian 7.4.0-10) 7.4.0 reproduce: git checkout ea4117e6feaa0b5060a2529fe240626e55420adf # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): ld: drivers/input/keyboard/applespi.o: in function `devm_led_classdev_register': >> include/linux/leds.h:191: undefined reference to `devm_led_classdev_register_ext' vim +191 include/linux/leds.h 183 184 extern int devm_led_classdev_register_ext(struct device *parent, 185 struct led_classdev *led_cdev, 186 struct led_init_data *init_data); 187 188 static inline int devm_led_classdev_register(struct device *parent, 189 struct led_classdev *led_cdev) 190 { > 191 return devm_led_classdev_register_ext(parent, led_cdev, NULL); 192 } 193 extern void led_classdev_unregister(struct led_classdev *led_cdev); 194 extern void devm_led_classdev_unregister(struct device *parent, 195 struct led_classdev *led_cdev); 196 extern void led_classdev_suspend(struct led_classdev *led_cdev); 197 extern void led_classdev_resume(struct led_classdev *led_cdev); 198 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip