Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath10k: fix documentation in ath10k_wow_convert_8023_to_80211()

With W=1 there's a warning:

drivers/net/wireless/ath/ath10k/wow.c:93: warning: Function parameter or member 'new' not described in 'ath10k_wow_convert_8023_to_80211'
drivers/net/wireless/ath/ath10k/wow.c:93: warning: Function parameter or member 'old' not described in 'ath10k_wow_convert_8023_to_80211'

Fix it by changing the documentation marker '/**' to a normal code comment.
While at it, clean up the line wrapping.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

+3 -4
+3 -4
drivers/net/wireless/ath/ath10k/wow.c
··· 77 77 return 0; 78 78 } 79 79 80 - /** 80 + /* 81 81 * Convert a 802.3 format to a 802.11 format. 82 82 * +------------+-----------+--------+----------------+ 83 83 * 802.3: |dest mac(6B)|src mac(6B)|type(2B)| body... | ··· 88 88 * 802.11: |4B|dest mac(6B)| 6B |src mac(6B)| 8B |type(2B)| body... | 89 89 * +--+------------+----+-----------+---------------+-----------+ 90 90 */ 91 - static void ath10k_wow_convert_8023_to_80211 92 - (struct cfg80211_pkt_pattern *new, 93 - const struct cfg80211_pkt_pattern *old) 91 + static void ath10k_wow_convert_8023_to_80211(struct cfg80211_pkt_pattern *new, 92 + const struct cfg80211_pkt_pattern *old) 94 93 { 95 94 u8 hdr_8023_pattern[ETH_HLEN] = {}; 96 95 u8 hdr_8023_bit_mask[ETH_HLEN] = {};