summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl1251/cmd.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-02 14:23:38 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-11-07 19:05:33 +0300
commit641291eca88c0209a0dba1eb32413101e0002352 (patch)
treebf5f0b79b42431365c867b76d5a7f5b42cab6395 /drivers/net/wireless/ti/wl1251/cmd.c
parent9bd28c6607babb92888ba42f5deb6b0d5000a376 (diff)
downloadlinux-641291eca88c0209a0dba1eb32413101e0002352.tar.xz
wl1251: cmd: Rename 'len' to 'buf_len' in the documentation
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ti/wl1251/cmd.c:70: warning: Function parameter or member 'buf_len' not described in 'wl1251_cmd_test' drivers/net/wireless/ti/wl1251/cmd.c:70: warning: Excess function parameter 'len' description in 'wl1251_cmd_test' 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> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20201102112410.1049272-10-lee.jones@linaro.org
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/cmd.c')
-rw-r--r--drivers/net/wireless/ti/wl1251/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl1251/cmd.c b/drivers/net/wireless/ti/wl1251/cmd.c
index 9547aea01b0f..e1095b8de2bd 100644
--- a/drivers/net/wireless/ti/wl1251/cmd.c
+++ b/drivers/net/wireless/ti/wl1251/cmd.c
@@ -63,7 +63,7 @@ out:
*
* @wl: wl struct
* @buf: buffer containing the command, with all headers, must work with dma
- * @len: length of the buffer
+ * @buf_len: length of the buffer
* @answer: is answer needed
*/
int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer)