From patchwork Sun Sep 23 18:59:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10611855 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 903351390 for ; Sun, 23 Sep 2018 18:59:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7287529ED6 for ; Sun, 23 Sep 2018 18:59:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6494429ED8; Sun, 23 Sep 2018 18:59:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25A5629ED6 for ; Sun, 23 Sep 2018 18:59:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726520AbeIXA5s (ORCPT ); Sun, 23 Sep 2018 20:57:48 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33170 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726300AbeIXA5s (ORCPT ); Sun, 23 Sep 2018 20:57:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GnMZaU79acqOb3GpZAVp8FSzYmznOaNUQNwxndMS23w=; b=cfu8GmYhwicqB7i+Q0HokB1yo CLvWFijU9iuJcJquLUdE7nARR8AYMUDOrRCxxkvUjLWP+uqKBpGW1B78/yailRGc73jKXhqk8EQNt pcP+Jwv5KZEQGkq+GTbacfD7PfbSBVrrlQo4g6B4619anBmQ6yiGPo9lr9vTMfr8R3j3djGYZbxUv o401EvcrEm8y8bH5iN5fpf8614b5YHDtOuU+tR03WOZqgrJCTbKGvGG4SllFYkeuNRFMMFx08rG78 sM7/QkPcmOHWITKo8hMp61QNgABPTVKAaomhi0YEm8gHuOsrH5BGhE5U4es4Vvrt7SI2V3BSqNUiS Yyd7EJ+Ig==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g49bC-0005Lw-Jf; Sun, 23 Sep 2018 18:59:18 +0000 To: linux-wireless , Kalle Valo Cc: LKML , Johannes Berg , Stanislaw Gruszka From: Randy Dunlap Subject: [PATCH] cfg80211: fix reg_query_regdb_wmm kernel-doc Message-ID: Date: Sun, 23 Sep 2018 11:59:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap 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 Cc: Stanislaw Gruszka Cc: Johannes Berg Cc: Kalle Valo Cc: linux-wireless@vger.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