linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [j.anaszewski-leds:for-next 56/57] include/linux/leds.h:191: undefined reference to `devm_led_classdev_register_ext'
@ 2019-08-28  9:14 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-28  9:14 UTC (permalink / raw)
  To: Jacek Anaszewski; +Cc: kbuild-all, linux-leds

[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]

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@intel.com>

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 28807 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-28  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28  9:14 [j.anaszewski-leds:for-next 56/57] include/linux/leds.h:191: undefined reference to `devm_led_classdev_register_ext' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).