netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: wireless: FTM: fix kernel-doc "cannot understand" warnings
@ 2018-12-06 20:58 Randy Dunlap
  2018-12-17  2:00 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-12-06 20:58 UTC (permalink / raw)
  To: netdev@vger.kernel.org, David Miller
  Cc: Pradeep Kumar Chitrapu, Johannes Berg, David Spinadel,
	linux-wireless

From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warnings in FTM due to missing "struct" keyword.

Fixes 109 warnings from <net/cfg80211.h>:
../include/net/cfg80211.h:2838: warning: cannot understand function prototype: 'struct cfg80211_ftm_responder_stats '

and fixes 88 warnings from <net/mac80211.h>:
../include/net/mac80211.h:477: warning: cannot understand function prototype: 'struct ieee80211_ftm_responder_params '

Fixes: 81e54d08d9d8 ("cfg80211: support FTM responder configuration/statistics")
Fixes: bc847970f432 ("mac80211: support FTM responder configuration/statistics")

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: David Spinadel <david.spinadel@intel.com>
---
 include/net/cfg80211.h |    2 +-
 include/net/mac80211.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- lnx-420-rc5.orig/include/net/cfg80211.h
+++ lnx-420-rc5/include/net/cfg80211.h
@@ -2815,7 +2815,7 @@ struct cfg80211_external_auth_params {
 };
 
 /**
- * cfg80211_ftm_responder_stats - FTM responder statistics
+ * struct cfg80211_ftm_responder_stats - FTM responder statistics
  *
  * @filled: bitflag of flags using the bits of &enum nl80211_ftm_stats to
  *	indicate the relevant values in this struct for them
--- lnx-420-rc5.orig/include/net/mac80211.h
+++ lnx-420-rc5/include/net/mac80211.h
@@ -467,7 +467,7 @@ struct ieee80211_mu_group_data {
 };
 
 /**
- * ieee80211_ftm_responder_params - FTM responder parameters
+ * struct ieee80211_ftm_responder_params - FTM responder parameters
  *
  * @lci: LCI subelement content
  * @civicloc: CIVIC location subelement content

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: wireless: FTM: fix kernel-doc "cannot understand" warnings
  2018-12-06 20:58 [PATCH] net: wireless: FTM: fix kernel-doc "cannot understand" warnings Randy Dunlap
@ 2018-12-17  2:00 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2018-12-17  2:00 UTC (permalink / raw)
  To: netdev@vger.kernel.org, David Miller
  Cc: Pradeep Kumar Chitrapu, Johannes Berg, David Spinadel,
	linux-wireless

ping?

On 12/6/18 12:58 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warnings in FTM due to missing "struct" keyword.
> 
> Fixes 109 warnings from <net/cfg80211.h>:
> ../include/net/cfg80211.h:2838: warning: cannot understand function prototype: 'struct cfg80211_ftm_responder_stats '
> 
> and fixes 88 warnings from <net/mac80211.h>:
> ../include/net/mac80211.h:477: warning: cannot understand function prototype: 'struct ieee80211_ftm_responder_params '
> 
> Fixes: 81e54d08d9d8 ("cfg80211: support FTM responder configuration/statistics")
> Fixes: bc847970f432 ("mac80211: support FTM responder configuration/statistics")
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
> Cc: Johannes Berg <johannes.berg@intel.com>
> Cc: David Spinadel <david.spinadel@intel.com>
> ---
>  include/net/cfg80211.h |    2 +-
>  include/net/mac80211.h |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- lnx-420-rc5.orig/include/net/cfg80211.h
> +++ lnx-420-rc5/include/net/cfg80211.h
> @@ -2815,7 +2815,7 @@ struct cfg80211_external_auth_params {
>  };
>  
>  /**
> - * cfg80211_ftm_responder_stats - FTM responder statistics
> + * struct cfg80211_ftm_responder_stats - FTM responder statistics
>   *
>   * @filled: bitflag of flags using the bits of &enum nl80211_ftm_stats to
>   *	indicate the relevant values in this struct for them
> --- lnx-420-rc5.orig/include/net/mac80211.h
> +++ lnx-420-rc5/include/net/mac80211.h
> @@ -467,7 +467,7 @@ struct ieee80211_mu_group_data {
>  };
>  
>  /**
> - * ieee80211_ftm_responder_params - FTM responder parameters
> + * struct ieee80211_ftm_responder_params - FTM responder parameters
>   *
>   * @lci: LCI subelement content
>   * @civicloc: CIVIC location subelement content
> 
> 
> 


-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-17  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-06 20:58 [PATCH] net: wireless: FTM: fix kernel-doc "cannot understand" warnings Randy Dunlap
2018-12-17  2:00 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).