lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 14 Aug 2020 12:39:12 +0100 From: Lee Jones <lee.jones@...aro.org> To: davem@...emloft.net, kuba@...nel.org Cc: linux-kernel@...r.kernel.org, Lee Jones <lee.jones@...aro.org>, Jiri Slaby <jirislaby@...nel.org>, Nick Kossifidis <mickflemm@...il.com>, Luis Chamberlain <mcgrof@...nel.org>, Kalle Valo <kvalo@...eaurora.org>, Reyk Floeter <reyk@...nbsd.org>, "W. S. Bell" <mentor@...wifi.org>, Luis Rodriguez <mcgrof@...lab.rutgers.edu>, Pavel Roskin <proski@....org>, linux-wireless@...r.kernel.org, netdev@...r.kernel.org Subject: [PATCH 09/30] net: wireless: ath: ath5k: pcu: Add a description for 'band' remove one for 'mode' Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath5k/pcu.c:115: warning: Function parameter or member 'band' not described in 'ath5k_hw_get_frame_duration' drivers/net/wireless/ath/ath5k/pcu.c:955: warning: Excess function parameter 'mode' description in 'ath5k_hw_pcu_init' Cc: Jiri Slaby <jirislaby@...nel.org> Cc: Nick Kossifidis <mickflemm@...il.com> Cc: Luis Chamberlain <mcgrof@...nel.org> Cc: Kalle Valo <kvalo@...eaurora.org> Cc: "David S. Miller" <davem@...emloft.net> Cc: Jakub Kicinski <kuba@...nel.org> Cc: Reyk Floeter <reyk@...nbsd.org> Cc: "W. S. Bell" <mentor@...wifi.org> Cc: Luis Rodriguez <mcgrof@...lab.rutgers.edu> Cc: Pavel Roskin <proski@....org> Cc: linux-wireless@...r.kernel.org Cc: netdev@...r.kernel.org Signed-off-by: Lee Jones <lee.jones@...aro.org> --- drivers/net/wireless/ath/ath5k/pcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c index 05140d8baa360..627bfd9f484a8 100644 --- a/drivers/net/wireless/ath/ath5k/pcu.c +++ b/drivers/net/wireless/ath/ath5k/pcu.c @@ -101,6 +101,7 @@ static const unsigned int ack_rates_high[] = /** * ath5k_hw_get_frame_duration() - Get tx time of a frame * @ah: The &struct ath5k_hw + * @band: One of enum nl80211_band * @len: Frame's length in bytes * @rate: The @struct ieee80211_rate * @shortpre: Indicate short preample @@ -945,7 +946,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.25.1
Powered by blists - more mailing lists