[<prev] [next>] [day] [month] [year] [list]
Message-ID: <cfbd4e00-0abc-f265-9e38-ce6655f09b83@infradead.org>
Date: Sun, 23 Sep 2018 11:59:13 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-wireless <linux-wireless@...r.kernel.org>,
Kalle Valo <kvalo@...eaurora.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Johannes Berg <johannes.berg@...el.com>,
Stanislaw Gruszka <sgruszka@...hat.com>
Subject: [PATCH] cfg80211: fix reg_query_regdb_wmm kernel-doc
From: Randy Dunlap <rdunlap@...radead.org>
Drop @ptr from kernel-doc for function reg_query_regdb_wmm().
This function parameter was recently removed so update the
kernel-doc to match that and remove the kernel-doc warnings.
Removes 109 occurrences of this warning message:
../include/net/cfg80211.h:4869: warning: Excess function parameter 'ptr' description in 'reg_query_regdb_wmm'
Fixes: 38cb87ee47fb ("cfg80211: make wmm_rule part of the reg_rule structure")
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Stanislaw Gruszka <sgruszka@...hat.com>
Cc: Johannes Berg <johannes.berg@...el.com>
Cc: Kalle Valo <kvalo@...eaurora.org>
Cc: linux-wireless@...r.kernel.org
---
include/net/cfg80211.h | 2 --
1 file changed, 2 deletions(-)
--- lnx-419-rc5.orig/include/net/cfg80211.h
+++ lnx-419-rc5/include/net/cfg80211.h
@@ -4852,8 +4852,6 @@ const char *reg_initiator_name(enum nl80
*
* @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
Powered by blists - more mailing lists