diff mbox series

[02/32] wireless: rsi: rsi_91x_mac80211: Add description for function param 'sta'

Message ID 20200821071644.109970-3-lee.jones@linaro.org
State New
Headers show
Series Set 2: Rid W=1 warnings in Wireless | expand

Commit Message

Lee Jones Aug. 21, 2020, 7:16 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/rsi/rsi_91x_mac80211.c:1021: warning: Function parameter or member 'sta' not described in 'rsi_mac80211_set_key'

Cc: Amitkumar Karwar <amitkarwar@gmail.com>
Cc: Siva Rebbagondla <siva8118@gmail.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/net/wireless/rsi/rsi_91x_mac80211.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.25.1

Comments

Kalle Valo Sept. 1, 2020, 9:20 a.m. UTC | #1
Lee Jones <lee.jones@linaro.org> wrote:

> Fixes the following W=1 kernel build warning(s):

> 

>  drivers/net/wireless/rsi/rsi_91x_mac80211.c:1021: warning: Function parameter or member 'sta' not described in 'rsi_mac80211_set_key'

> 

> Cc: Amitkumar Karwar <amitkarwar@gmail.com>

> Cc: Siva Rebbagondla <siva8118@gmail.com>

> Cc: Kalle Valo <kvalo@codeaurora.org>

> Cc: "David S. Miller" <davem@davemloft.net>

> Cc: Jakub Kicinski <kuba@kernel.org>

> Cc: linux-wireless@vger.kernel.org

> Cc: netdev@vger.kernel.org

> Signed-off-by: Lee Jones <lee.jones@linaro.org>


9 patches applied to wireless-drivers-next.git, thanks.

501c0980b752 rsi: Add description for function param 'sta'
d7f95d9204ca brcmsmac: ampdu: Remove a bunch of unused variables
5763605890fe brcmfmac: p2p: Fix a bunch of function docs
a451ff855218 rsi: Add descriptions for rsi_set_vap_capabilities()'s parameters
dceb807b2f28 brcmsmac: main: Remove a bunch of unused variables
246fe9f15036 rsi: Source file headers do not make good kernel-doc candidates
866cf939f252 brcmfmac: firmware: Demote seemingly unintentional kernel-doc header
7a03124c1df5 rsi: File headers are not suitable for kernel-doc
35b7fbfc51d6 iwlegacy: 4965-mac: Convert function headers to standard comment blocks

-- 
https://patchwork.kernel.org/patch/11728371/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/rsi/rsi_91x_mac80211.c b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
index ce223e680cba6..16025300cddb3 100644
--- a/drivers/net/wireless/rsi/rsi_91x_mac80211.c
+++ b/drivers/net/wireless/rsi/rsi_91x_mac80211.c
@@ -1009,6 +1009,7 @@  static int rsi_hal_key_config(struct ieee80211_hw *hw,
  * @hw: Pointer to the ieee80211_hw structure.
  * @cmd: enum set_key_cmd.
  * @vif: Pointer to the ieee80211_vif structure.
+ * @sta: Pointer to the ieee80211_sta structure.
  * @key: Pointer to the ieee80211_key_conf structure.
  *
  * Return: status: 0 on success, negative error code on failure.