From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masanari Iida Subject: [PATCH] linux-next :cfg80211: Fix warnings while make xmldocs Date: Sun, 9 Sep 2018 22:55:18 +0900 Message-ID: <20180909135518.29527-1-standby24x7@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Masanari Iida To: davem@davemloft.net, linux-kernel@vger.kernel.org, sgruszka@redhat.com, johannes.berg@intel.com, netdev@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org Return-path: Received: from mail-pf1-f195.google.com ([209.85.210.195]:41739 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727008AbeIISpJ (ORCPT ); Sun, 9 Sep 2018 14:45:09 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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 --- 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