Message ID | 1621076039-53986-25-git-send-email-shenyang39@huawei.com |
---|---|
State | New |
Headers | show |
Series | Rid W=1 warnings in net | expand |
On 2021/5/15 19:37, Kalle Valo wrote: > Kalle Valo <kvalo@codeaurora.org> writes: > >> Yang Shen <shenyang39@huawei.com> writes: >> >>> Fixes the following W=1 kernel build warning(s): >>> >>> drivers/net/wireless/ath/ath5k/pcu.c:865: warning: expecting >>> prototype for at5k_hw_stop_rx_pcu(). Prototype was for >>> ath5k_hw_stop_rx_pcu() instead >>> >>> Cc: Jiri Slaby <jirislaby@kernel.org> >>> Cc: Nick Kossifidis <mickflemm@gmail.com> >>> Cc: Luis Chamberlain <mcgrof@kernel.org> >>> Cc: Kalle Valo <kvalo@codeaurora.org> >>> Signed-off-by: Yang Shen <shenyang39@huawei.com> >>> --- >>> drivers/net/wireless/ath/ath5k/pcu.c | 2 +- >> >> Patches for drivers/net/wireless should be sent to linux-wireless, I >> recommend submitting those patches separately from rest of the series. >> (Patches 24, 25, 29, 30 and 34) > > Oh, and patch 33 should be also sent to linux-wireless. > Thanks! I'll fix this in the next version. Regards, Yang
diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c index f2db7cf..3f4ce4e 100644 --- a/drivers/net/wireless/ath/ath5k/pcu.c +++ b/drivers/net/wireless/ath/ath5k/pcu.c @@ -855,7 +855,7 @@ ath5k_hw_start_rx_pcu(struct ath5k_hw *ah) } /** - * at5k_hw_stop_rx_pcu() - Stop RX engine + * ath5k_hw_stop_rx_pcu() - Stop RX engine * @ah: The &struct ath5k_hw * * Stops RX engine on PCU
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath5k/pcu.c:865: warning: expecting prototype for at5k_hw_stop_rx_pcu(). Prototype was for ath5k_hw_stop_rx_pcu() instead Cc: Jiri Slaby <jirislaby@kernel.org> Cc: Nick Kossifidis <mickflemm@gmail.com> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Yang Shen <shenyang39@huawei.com> --- drivers/net/wireless/ath/ath5k/pcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)