Commit f3242a5b authored by Lee Jones's avatar Lee Jones Committed by Kalle Valo

zd1211rw: zd_mac: Add missing or incorrect function documentation

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

 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:433: warning: Function parameter or member 'hw' not described in 'zd_mac_tx_status'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:433: warning: Function parameter or member 'skb' not described in 'zd_mac_tx_status'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:433: warning: Function parameter or member 'tx_status' not described in 'zd_mac_tx_status'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:433: warning: Excess function parameter 'flags' description in 'zd_mac_tx_status'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:487: warning: Function parameter or member 'urb' not described in 'zd_mac_tx_failed'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:487: warning: Excess function parameter 'dev' description in 'zd_mac_tx_failed'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:927: warning: Function parameter or member 'hw' not described in 'zd_op_tx'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:927: warning: Excess function parameter 'dev' description in 'zd_op_tx'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:963: warning: Function parameter or member 'hw' not described in 'filter_ack'
 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:963: warning: Excess function parameter 'dev' description in 'filter_ack'

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: Michael Wu <flamingice@sourmilk.net>
Cc: "Luis R. Rodriguez" <mcgrof@winlab.rutgers.edu>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200826093401.1458456-11-lee.jones@linaro.org
parent 2fae7bf8
...@@ -416,11 +416,10 @@ int zd_restore_settings(struct zd_mac *mac) ...@@ -416,11 +416,10 @@ int zd_restore_settings(struct zd_mac *mac)
/** /**
* zd_mac_tx_status - reports tx status of a packet if required * zd_mac_tx_status - reports tx status of a packet if required
* @hw - a &struct ieee80211_hw pointer * @hw: a &struct ieee80211_hw pointer
* @skb - a sk-buffer * @skb: a sk-buffer
* @flags: extra flags to set in the TX status info
* @ackssi: ACK signal strength * @ackssi: ACK signal strength
* @success - True for successful transmission of the frame * @tx_status: success and/or retry
* *
* This information calls ieee80211_tx_status_irqsafe() if required by the * This information calls ieee80211_tx_status_irqsafe() if required by the
* control information. It copies the control information into the status * control information. It copies the control information into the status
...@@ -477,7 +476,7 @@ static void zd_mac_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb, ...@@ -477,7 +476,7 @@ static void zd_mac_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb,
/** /**
* zd_mac_tx_failed - callback for failed frames * zd_mac_tx_failed - callback for failed frames
* @dev: the mac80211 wireless device * @urb: pointer to the urb structure
* *
* This function is called if a frame couldn't be successfully * This function is called if a frame couldn't be successfully
* transferred. The first frame from the tx queue, will be selected and * transferred. The first frame from the tx queue, will be selected and
...@@ -913,9 +912,9 @@ static int fill_ctrlset(struct zd_mac *mac, ...@@ -913,9 +912,9 @@ static int fill_ctrlset(struct zd_mac *mac,
/** /**
* zd_op_tx - transmits a network frame to the device * zd_op_tx - transmits a network frame to the device
* *
* @dev: mac80211 hardware device * @hw: a &struct ieee80211_hw pointer
* @skb: socket buffer
* @control: the control structure * @control: the control structure
* @skb: socket buffer
* *
* This function transmit an IEEE 802.11 network frame to the device. The * This function transmit an IEEE 802.11 network frame to the device. The
* control block of the skbuff will be initialized. If necessary the incoming * control block of the skbuff will be initialized. If necessary the incoming
...@@ -946,7 +945,7 @@ static void zd_op_tx(struct ieee80211_hw *hw, ...@@ -946,7 +945,7 @@ static void zd_op_tx(struct ieee80211_hw *hw,
/** /**
* filter_ack - filters incoming packets for acknowledgements * filter_ack - filters incoming packets for acknowledgements
* @dev: the mac80211 device * @hw: a &struct ieee80211_hw pointer
* @rx_hdr: received header * @rx_hdr: received header
* @stats: the status for the received packet * @stats: the status for the received packet
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment