lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 24 Dec 2020 05:27:31 +0800
From:   kernel test robot <>
To:     Krzysztof Kozlowski <>
        Kalle Valo <>
Subject: drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to

Hi Krzysztof,

FYI, the error/warning still remains.

tree: 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):
        git remote add linus
        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 <>

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 <>
:::::: CC: John W. Linville <>

0-DAY CI Kernel Test Service, Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (34875 bytes)

Powered by blists - more mailing lists