lkml.org 
[lkml]   [2020]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-12-23 16:24    [W:0.389 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site