* [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS
@ 2021-03-26 8:13 Zhang Jianhua
2021-03-27 22:38 ` Pavel Machek
0 siblings, 1 reply; 4+ messages in thread
From: Zhang Jianhua @ 2021-03-26 8:13 UTC (permalink / raw)
To: ath9k-devel, kvalo, davem, kuba
Cc: linux-wireless, netdev, linux-kernel, johnny.chenyi
If CONFIG_ATH9K=y, the following errors will be seen while compiling
gpio.c
drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_deinit_leds':
gpio.c:(.text+0x604): undefined reference to `led_classdev_unregister'
gpio.c:(.text+0x604): relocation truncated to fit: R_AARCH64_CALL26
against undefined symbol `led_classdev_unregister'
drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_init_leds':
gpio.c:(.text+0x708): undefined reference to `led_classdev_register_ext'
gpio.c:(.text+0x708): relocation truncated to fit: R_AARCH64_CALL26
against undefined symbol `led_classdev_register_ext'
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Jianhua <zhangjianhua18@huawei.com>
---
drivers/net/wireless/ath/ath9k/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig
index e150d82eddb6..cba91e948c43 100644
--- a/drivers/net/wireless/ath/ath9k/Kconfig
+++ b/drivers/net/wireless/ath/ath9k/Kconfig
@@ -24,6 +24,7 @@ config ATH9K
select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
select ATH9K_HW
select ATH9K_COMMON
+ select LEDS_CLASS
help
This module adds support for wireless adapters based on
Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS
2021-03-26 8:13 [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS Zhang Jianhua
@ 2021-03-27 22:38 ` Pavel Machek
2021-03-30 7:00 ` zhangjianhua (E)
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2021-03-27 22:38 UTC (permalink / raw)
To: Zhang Jianhua
Cc: ath9k-devel, kvalo, davem, kuba, linux-wireless, netdev,
linux-kernel, johnny.chenyi
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]
On Fri 2021-03-26 16:13:51, Zhang Jianhua wrote:
> If CONFIG_ATH9K=y, the following errors will be seen while compiling
> gpio.c
>
> drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_deinit_leds':
> gpio.c:(.text+0x604): undefined reference to `led_classdev_unregister'
> gpio.c:(.text+0x604): relocation truncated to fit: R_AARCH64_CALL26
> against undefined symbol `led_classdev_unregister'
> drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_init_leds':
> gpio.c:(.text+0x708): undefined reference to `led_classdev_register_ext'
> gpio.c:(.text+0x708): relocation truncated to fit: R_AARCH64_CALL26
> against undefined symbol `led_classdev_register_ext'
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zhang Jianhua <zhangjianhua18@huawei.com>
a) please cc led lists with led issue.
b) probably does not work as LED_CLASS depends on NEW_LEDS...?
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS
2021-03-27 22:38 ` Pavel Machek
@ 2021-03-30 7:00 ` zhangjianhua (E)
2021-04-25 21:50 ` Pavel Machek
0 siblings, 1 reply; 4+ messages in thread
From: zhangjianhua (E) @ 2021-03-30 7:00 UTC (permalink / raw)
To: Pavel Machek
Cc: ath9k-devel, kvalo, davem, kuba, linux-wireless, netdev,
linux-kernel, Chenyi (Johnny)
hello Pavel,thanks for your reply.
for the a point, I don't know the led lists and cannot find it.
for the b point, I look other configs who select LEDS_CLASS, almost all
of them select NEW_LEDS,maybe you are right, CONFIG_ATH9K also need
select NEW_LEDS too.
Best regards,
Zhang Jianhua
在 2021/3/28 6:38, Pavel Machek 写道:
> On Fri 2021-03-26 16:13:51, Zhang Jianhua wrote:
>> If CONFIG_ATH9K=y, the following errors will be seen while compiling
>> gpio.c
>>
>> drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_deinit_leds':
>> gpio.c:(.text+0x604): undefined reference to `led_classdev_unregister'
>> gpio.c:(.text+0x604): relocation truncated to fit: R_AARCH64_CALL26
>> against undefined symbol `led_classdev_unregister'
>> drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_init_leds':
>> gpio.c:(.text+0x708): undefined reference to `led_classdev_register_ext'
>> gpio.c:(.text+0x708): relocation truncated to fit: R_AARCH64_CALL26
>> against undefined symbol `led_classdev_register_ext'
>>
>> Reported-by: Hulk Robot <hulkci@huawei.com>
>> Signed-off-by: Zhang Jianhua <zhangjianhua18@huawei.com>
> a) please cc led lists with led issue.
>
> b) probably does not work as LED_CLASS depends on NEW_LEDS...?
>
> Best regards,
> Pavel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS
2021-03-30 7:00 ` zhangjianhua (E)
@ 2021-04-25 21:50 ` Pavel Machek
0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2021-04-25 21:50 UTC (permalink / raw)
To: zhangjianhua (E)
Cc: ath9k-devel, kvalo, davem, kuba, linux-wireless, netdev,
linux-kernel, Chenyi (Johnny)
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
Hi!
> hello Pavel,thanks for your reply.
>
> for the a point, I don't know the led lists and cannot find it.
>
> for the b point, I look other configs who select LEDS_CLASS, almost all of
> them select NEW_LEDS,maybe you are right, CONFIG_ATH9K also need select
> NEW_LEDS too.
See MAINTAINERS file.
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-25 21:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 8:13 [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS Zhang Jianhua
2021-03-27 22:38 ` Pavel Machek
2021-03-30 7:00 ` zhangjianhua (E)
2021-04-25 21:50 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).