lists.openwall.net   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  linux-cve-announce  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:   Wed, 23 Dec 2020 23:21:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     Krzysztof Kozlowski <krzk@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kalle Valo <kvalo@...eaurora.org>
Subject: drivers/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@...el.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@...nwrt.org>
:::::: CC: John W. Linville <linville@...driver.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" (34875 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ