* [PATCH net-next] ath5k: fix 'mode' kernel-doc warning in ath5k_hw_pcu_init()
@ 2020-09-09 13:18 Wang Hai
2020-09-10 16:28 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Wang Hai @ 2020-09-09 13:18 UTC (permalink / raw)
To: jirislaby, mickflemm, mcgrof, kvalo, davem, kuba
Cc: linux-wireless, netdev, linux-kernel
Fixes the following W=1 kernel build warning(s):
drivers/net/wireless/ath/ath5k/pcu.c:955: warning: Excess function parameter 'mode' description in 'ath5k_hw_pcu_init'
This parameter is not in use. Remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
drivers/net/wireless/ath/ath5k/pcu.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c
index 05140d8baa36..3df5f27708fc 100644
--- a/drivers/net/wireless/ath/ath5k/pcu.c
+++ b/drivers/net/wireless/ath/ath5k/pcu.c
@@ -945,7 +945,6 @@ ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode)
* ath5k_hw_pcu_init() - Initialize PCU
* @ah: The &struct ath5k_hw
* @op_mode: One of enum nl80211_iftype
- * @mode: One of enum ath5k_driver_mode
*
* This function is used to initialize PCU by setting current
* operation mode and various other settings.
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] ath5k: fix 'mode' kernel-doc warning in ath5k_hw_pcu_init()
2020-09-09 13:18 [PATCH net-next] ath5k: fix 'mode' kernel-doc warning in ath5k_hw_pcu_init() Wang Hai
@ 2020-09-10 16:28 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2020-09-10 16:28 UTC (permalink / raw)
To: Wang Hai
Cc: jirislaby, mickflemm, mcgrof, davem, kuba, linux-wireless,
netdev, linux-kernel
Wang Hai <wanghai38@huawei.com> wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/net/wireless/ath/ath5k/pcu.c:955: warning: Excess function parameter 'mode' description in 'ath5k_hw_pcu_init'
>
> This parameter is not in use. Remove it.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Wang Hai <wanghai38@huawei.com>
Already fixed in ath.git.
error: patch failed: drivers/net/wireless/ath/ath5k/pcu.c:945
error: drivers/net/wireless/ath/ath5k/pcu.c: patch does not apply
stg import: Diff does not apply cleanly
Patch set to Rejected.
--
https://patchwork.kernel.org/patch/11765471/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-10 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 13:18 [PATCH net-next] ath5k: fix 'mode' kernel-doc warning in ath5k_hw_pcu_init() Wang Hai
2020-09-10 16:28 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®