Skip to contentSkip to conversation

linux-next :cfg80211: Fix warnings while make xmldocs

PATCH New Masanari Iida 1 participant 1 message Sep 9, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-next :cfg80211: Fix warnings while make xmldocs

During 4.19-rc1 merger period, 38cb87ee47fb8 was merged. In the patch, one of an argument "*ptr" was removed from the function. But in the comment of the function "@ptr" still exist. Which causes 109 lines of following warning during "make xmldocs"

./include/net/cfg80211.h:4869: warning: Excess function
parameter 'ptr' description in 'reg_query_regdb_wmm'

After apply this patch and make xmldocs does not show this message any more.

---
 include/net/cfg80211.h | 2 --
 1 file changed, 2 deletions(-)
include/net/cfg80211.h +0 -2
index 8ebabc9873d1..4de121e24ce5 100644
@@ -4852,8 +4852,6 @@ const char *reg_initiator_name(enum nl80211_reg_initiator initiator);
  *
  * @alpha2: the ISO/IEC 3166 alpha2 wmm rule to be queried.
  * @freq: the freqency(in MHz) to be queried.
- * @ptr: pointer where the regdb wmm data is to be stored (or %NULL if
- *	irrelevant). This can be used later for deduplication.
  * @rule: pointer to store the wmm rule from the regulatory db.
  *
  * Self-managed wireless drivers can use this function to  query
Signature · 1 line
2.19.0.rc2