Commit 206cd580 authored by Lee Jones's avatar Lee Jones Committed by Kalle Valo

ath: dfs_pattern_detector: Fix some function kernel-doc headers

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

 drivers/net/wireless/ath/dfs_pattern_detector.c:34: warning: Function parameter or member 'region' not described in 'radar_types'
 drivers/net/wireless/ath/dfs_pattern_detector.c:141: warning: Function parameter or member 'region' not described in 'get_dfs_domain_radar_types'
 drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'dpd' not described in 'channel_detector_get'
 drivers/net/wireless/ath/dfs_pattern_detector.c:239: warning: Function parameter or member 'freq' not described in 'channel_detector_get'

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: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201102112410.1049272-22-lee.jones@linaro.org
parent aed7ee04
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/** /**
* struct radar_types - contains array of patterns defined for one DFS domain * struct radar_types - contains array of patterns defined for one DFS domain
* @domain: DFS regulatory domain * @region: regulatory DFS region
* @num_radar_types: number of radar types to follow * @num_radar_types: number of radar types to follow
* @radar_types: radar types array * @radar_types: radar types array
*/ */
...@@ -133,8 +133,9 @@ static const struct radar_types *dfs_domains[] = { ...@@ -133,8 +133,9 @@ static const struct radar_types *dfs_domains[] = {
/** /**
* get_dfs_domain_radar_types() - get radar types for a given DFS domain * get_dfs_domain_radar_types() - get radar types for a given DFS domain
* @param domain DFS domain * @region: regulatory DFS region
* @return radar_types ptr on success, NULL if DFS domain is not supported *
* Return value: radar_types ptr on success, NULL if DFS domain is not supported
*/ */
static const struct radar_types * static const struct radar_types *
get_dfs_domain_radar_types(enum nl80211_dfs_regions region) get_dfs_domain_radar_types(enum nl80211_dfs_regions region)
...@@ -227,9 +228,10 @@ channel_detector_create(struct dfs_pattern_detector *dpd, u16 freq) ...@@ -227,9 +228,10 @@ channel_detector_create(struct dfs_pattern_detector *dpd, u16 freq)
/** /**
* channel_detector_get() - get channel detector for given frequency * channel_detector_get() - get channel detector for given frequency
* @param dpd instance pointer * @dpd: DPD instance pointer
* @param freq frequency in MHz * @freq: freq frequency in MHz
* @return pointer to channel detector on success, NULL otherwise *
* Return value: pointer to channel detector on success, NULL otherwise
* *
* Return existing channel detector for the given frequency or return a * Return existing channel detector for the given frequency or return a
* newly create one. * newly create one.
......
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