# \[PATCH\] linux-next :cfg80211: Fix warnings while make xmldocs

- Subsystems: 802.11 (including CFG80211/NL80211), THE REST
- Maintainers: Johannes Berg, Linus Torvalds
- List: netdev
- 1 message, 1 author
- Page: https://ratatoskr.run/netdev/2018/09/5376071/t

## \[PATCH\] linux-next :cfg80211: Fix warnings while make xmldocs

- From: Masanari Iida \<hidden\>
- Date: 2018-09-09 13:55:25 
- Message: https://ratatoskr.run/netdev/2018/09/5376071.md

```text
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.

Signed-off-by: Masanari Iida <redacted>
---
 include/net/cfg80211.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 8ebabc9873d1..4de121e24ce5 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -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
-- 
2.19.0.rc2
```
