From: Kalle Valo <kvalo@codeaurora.org>
To: kernel test robot <lkp@intel.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: undefined reference to `led_classdev_unregister'
Date: Thu, 18 Feb 2021 17:05:44 +0200 [thread overview]
Message-ID: <874ki9l8l3.fsf@codeaurora.org> (raw)
In-Reply-To: <202102181657.0GhWB9nF-lkp@intel.com> (kernel test robot's message of "Thu, 18 Feb 2021 16:42:59 +0800")
kernel test robot <lkp@intel.com> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: f40ddce88593482919761f74910f42f4b84c004b
> commit: 72cdab808714b1ec24b0c7bdebed163ce791f01f ath9k: Do not select MAC80211_LEDS by default
> date: 6 months ago
> config: parisc-randconfig-r002-20210218 (attached as .config)
> compiler: hppa64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # 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
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
>
> 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 >>):
>
> hppa64-linux-ld: drivers/net/wireless/ath/ath9k/gpio.o: in function `.LC54':
>>> (.data.rel.ro+0xe8): undefined reference to `led_classdev_unregister'
> hppa64-linux-ld: drivers/net/wireless/ath/ath9k/gpio.o: in function `.LC64':
>>> (.data.rel.ro+0x120): undefined reference to `led_classdev_register_ext'
This commit should fix the issue:
b64acb28da83 ath9k: fix build error with LEDS_CLASS=m
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2021-02-18 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 8:42 undefined reference to `led_classdev_unregister' kernel test robot
2021-02-18 15:05 ` Kalle Valo [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-06 11:22 kernel test robot
2021-01-07 17:14 ` Randy Dunlap
2021-01-05 22:54 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=874ki9l8l3.fsf@codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=kbuild-all@lists.01.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
/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