[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <874ki9l8l3.fsf@codeaurora.org>
Date: Thu, 18 Feb 2021 17:05:44 +0200
From: Kalle Valo <kvalo@...eaurora.org>
To: kernel test robot <lkp@...el.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: Re: undefined reference to `led_classdev_unregister'
kernel test robot <lkp@...el.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@...el.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
Powered by blists - more mailing lists