Message ID | 20200826093401.1458456-12-lee.jones@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | bb4b2c8ba39da2feafa63e6e0bf9d871ea31231e |
Delegated to: | Kalle Valo |
Headers | show |
Series | Set 3: Rid W=1 warnings in Wireless | expand |
Lee Jones <lee.jones@linaro.org> wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1385: warning: Function parameter or member 'status' not described in 'zd_rx_rate' > drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1385: warning: Excess function parameter 'rx_status' description in 'zd_rx_rate' > > Cc: Daniel Drake <dsd@gentoo.org> > Cc: Ulrich Kunitz <kune@deine-taler.de> > 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. bb4b2c8ba39d zd1211rw: zd_chip: Correct misspelled function argument e769ab5359cb brcmfmac: fwsignal: Finish documenting 'brcmf_fws_mac_descriptor' b95451e02e1c wlcore: debugfs: Remove unused variable 'res' 64403dc35cb7 rsi: rsi_91x_sdio: Fix a few kernel-doc related issues 8cea7f1c8813 hostap: Remove unused variable 'fc' 2307d0bc9d8b wl3501_cs: Fix a bunch of formatting issues related to function docs 0e25262bc367 rtw88: debug: Remove unused variables 'val' 73ffcd404a7e rsi: rsi_91x_sdio_ops: File headers are not good kernel-doc candidates 2d4a48d1f92b prism54: isl_ioctl: Remove unused variable 'j'
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_chip.c b/drivers/net/wireless/zydas/zd1211rw/zd_chip.c index 0216b1583b48b..3bb51dc8d035f 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_chip.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_chip.c @@ -1376,7 +1376,7 @@ static inline u8 zd_rate_from_ofdm_plcp_header(const void *rx_frame) /** * zd_rx_rate - report zd-rate * @rx_frame: received frame - * @rx_status: rx_status as given by the device + * @status: rx_status as given by the device * * This function converts the rate as encoded in the received packet to the * zd-rate, we are using on other places in the driver.
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1385: warning: Function parameter or member 'status' not described in 'zd_rx_rate' drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1385: warning: Excess function parameter 'rx_status' description in 'zd_rx_rate' Cc: Daniel Drake <dsd@gentoo.org> Cc: Ulrich Kunitz <kune@deine-taler.de> 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/zydas/zd1211rw/zd_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)