From: kernel test robot <lkp@intel.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Kalle Valo <kvalo@codeaurora.org>
Subject: drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister'
Date: Thu, 24 Dec 2020 05:27:31 +0800 [thread overview]
Message-ID: <202012240519.pCJtR0mY-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2020-12-23 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 21:27 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-23 15:21 drivers/net/wireless/ath/ath9k/gpio.c:69: undefined reference to `led_classdev_unregister' kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202012240519.pCJtR0mY-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=krzk@kernel.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox