* drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'
@ 2020-12-23 15:21 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-23 15:21 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: kbuild-all, linux-kernel, Kalle Valo
[-- Attachment #1: Type: text/plain, Size: 2466 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 614cb5894306cfa2c7d9b6168182876ff5948735
commit: 72cdab808714b1ec24b0c7bdebed163ce791f01f ath9k: Do not select MAC80211_LEDS by default
date: 4 months ago
config: i386-randconfig-a014-20201223 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=72cdab808714b1ec24b0c7bdebed163ce791f01f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 72cdab808714b1ec24b0c7bdebed163ce791f01f
# 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@intel.com>
All errors (new ones prefixed by >>):
ld: drivers/net/wireless/ath/ath9k/gpio.o: in function `ath_deinit_leds':
>> drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'
ld: drivers/net/wireless/ath/ath9k/gpio.o: in function `led_classdev_register':
>> include/linux/leds.h:190: undefined reference to `led_classdev_register_ext'
vim +69 drivers/net/wireless/ath/ath9k/gpio.c
0fca65c1c0569d6 Sujith 2010-01-08 62
0fca65c1c0569d6 Sujith 2010-01-08 63 void ath_deinit_leds(struct ath_softc *sc)
0fca65c1c0569d6 Sujith 2010-01-08 64 {
0cf55c21ec40163 Felix Fietkau 2011-02-27 65 if (!sc->led_registered)
0cf55c21ec40163 Felix Fietkau 2011-02-27 66 return;
0cf55c21ec40163 Felix Fietkau 2011-02-27 67
0cf55c21ec40163 Felix Fietkau 2011-02-27 68 ath_led_brightness(&sc->led_cdev, LED_OFF);
0cf55c21ec40163 Felix Fietkau 2011-02-27 @69 led_classdev_unregister(&sc->led_cdev);
db2221901fbded7 Miaoqing Pan 2016-03-07 70
db2221901fbded7 Miaoqing Pan 2016-03-07 71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin);
0fca65c1c0569d6 Sujith 2010-01-08 72 }
0fca65c1c0569d6 Sujith 2010-01-08 73
:::::: The code at line 69 was first introduced by commit
:::::: 0cf55c21ec401632043db2b8acb7cd3bef64c9e6 ath9k: use generic mac80211 LED blinking code
:::::: TO: Felix Fietkau <nbd@openwrt.org>
:::::: CC: John W. Linville <linville@tuxdriver.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34875 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'
@ 2020-12-23 21:27 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-23 21:27 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: kbuild-all, linux-kernel, Kalle Valo
[-- Attachment #1: Type: text/plain, Size: 2520 bytes --]
Hi Krzysztof,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 614cb5894306cfa2c7d9b6168182876ff5948735
commit: 72cdab808714b1ec24b0c7bdebed163ce791f01f ath9k: Do not select MAC80211_LEDS by default
date: 4 months ago
config: i386-randconfig-a014-20201223 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=72cdab808714b1ec24b0c7bdebed163ce791f01f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 72cdab808714b1ec24b0c7bdebed163ce791f01f
# 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@intel.com>
All errors (new ones prefixed by >>):
ld: drivers/net/wireless/ath/ath9k/gpio.o: in function `ath_deinit_leds':
>> drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'
ld: drivers/net/wireless/ath/ath9k/gpio.o: in function `led_classdev_register':
>> include/linux/leds.h:190: undefined reference to `led_classdev_register_ext'
vim +69 drivers/net/wireless/ath/ath9k/gpio.c
0fca65c1c0569d6 Sujith 2010-01-08 62
0fca65c1c0569d6 Sujith 2010-01-08 63 void ath_deinit_leds(struct ath_softc *sc)
0fca65c1c0569d6 Sujith 2010-01-08 64 {
0cf55c21ec40163 Felix Fietkau 2011-02-27 65 if (!sc->led_registered)
0cf55c21ec40163 Felix Fietkau 2011-02-27 66 return;
0cf55c21ec40163 Felix Fietkau 2011-02-27 67
0cf55c21ec40163 Felix Fietkau 2011-02-27 68 ath_led_brightness(&sc->led_cdev, LED_OFF);
0cf55c21ec40163 Felix Fietkau 2011-02-27 @69 led_classdev_unregister(&sc->led_cdev);
db2221901fbded7 Miaoqing Pan 2016-03-07 70
db2221901fbded7 Miaoqing Pan 2016-03-07 71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin);
0fca65c1c0569d6 Sujith 2010-01-08 72 }
0fca65c1c0569d6 Sujith 2010-01-08 73
:::::: The code at line 69 was first introduced by commit
:::::: 0cf55c21ec401632043db2b8acb7cd3bef64c9e6 ath9k: use generic mac80211 LED blinking code
:::::: TO: Felix Fietkau <nbd@openwrt.org>
:::::: CC: John W. Linville <linville@tuxdriver.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34875 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-23 21:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-23 15:21 drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2020-12-23 21:27 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox