[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006051910.H0caEOal%lkp@intel.com>
Date: Fri, 5 Jun 2020 19:32:22 +0800
From: kernel test robot <lkp@...el.com>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Takashi Iwai <tiwai@...e.de>
Subject: include/linux/leds.h:193: undefined reference to
`devm_led_classdev_register_ext'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 435faf5c218a47fd6258187f62d9bb1009717896
commit: 87dc36482cab3a4ea34f203fc3f4da35712eb783 ALSA: hda/realtek - Add LED class support for micmute LED
date: 5 weeks ago
config: i386-randconfig-a002-20200526 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout 87dc36482cab3a4ea34f203fc3f4da35712eb783
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld: sound/pci/hda/patch_realtek.o: in function `devm_led_classdev_register':
>> include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
vim +193 include/linux/leds.h
7c322056e3564d Jacek Anaszewski 2019-08-26 185
ec28a8cfdce630 Dan Murphy 2019-10-02 186 int devm_led_classdev_register_ext(struct device *parent,
b2b998c0f94499 Jacek Anaszewski 2019-06-09 187 struct led_classdev *led_cdev,
b2b998c0f94499 Jacek Anaszewski 2019-06-09 188 struct led_init_data *init_data);
7c322056e3564d Jacek Anaszewski 2019-08-26 189
7c322056e3564d Jacek Anaszewski 2019-08-26 190 static inline int devm_led_classdev_register(struct device *parent,
7c322056e3564d Jacek Anaszewski 2019-08-26 191 struct led_classdev *led_cdev)
7c322056e3564d Jacek Anaszewski 2019-08-26 192 {
7c322056e3564d Jacek Anaszewski 2019-08-26 @193 return devm_led_classdev_register_ext(parent, led_cdev, NULL);
7c322056e3564d Jacek Anaszewski 2019-08-26 194 }
ec28a8cfdce630 Dan Murphy 2019-10-02 195 void led_classdev_unregister(struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy 2019-10-02 196 void devm_led_classdev_unregister(struct device *parent,
ca1bb4ee4c3a01 Bjorn Andersson 2015-02-23 197 struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy 2019-10-02 198 void led_classdev_suspend(struct led_classdev *led_cdev);
ec28a8cfdce630 Dan Murphy 2019-10-02 199 void led_classdev_resume(struct led_classdev *led_cdev);
c72a1d608dd0eb Richard Purdie 2006-03-31 200
:::::: The code at line 193 was first introduced by commit
:::::: 7c322056e3564da1b5bdc3f3cb79229582955eb2 leds: Replace {devm_}led_classdev_register() macros with inlines
:::::: TO: Jacek Anaszewski <jacek.anaszewski@...il.com>
:::::: CC: Jacek Anaszewski <jacek.anaszewski@...il.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (34633 bytes)
Powered by blists - more mailing lists