From patchwork Thu Jan 14 08:04:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12018843 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05673C433E0 for ; Thu, 14 Jan 2021 08:07:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C4B57233FD for ; Thu, 14 Jan 2021 08:07:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728408AbhANIHF (ORCPT ); Thu, 14 Jan 2021 03:07:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:59242 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728117AbhANIHD (ORCPT ); Thu, 14 Jan 2021 03:07:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D94423A77; Thu, 14 Jan 2021 08:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610611501; bh=3zVDkTpXYYSPlX83jUVJYOwCXXEP5O6e+4oOu3uM/QQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UhqyF9OQDpRzHo+RuUu93fWzsPAekpJ9luHJdjIEoiUWVb8S+YhToX5JNdCVm8aXl a7+PFmWftb+KKlFEsNfqEJ0QLnfdzzvaTFBSMNXem5E4DcfmQoMjGL4OCqbyQ2muba qbosviT6WawO50HEqLH01OkHL6ziejZ8J7XP/DZXf82n+9s+g1KgriIjOio7oUBvdR NLxpn9rmhVEdNQ9NsZ79hPRoZdBWNmfHsDr+1wBw6DUchUB+ehDvlwB1YTIBGXhEgy PT+VnHrcU7Uj+OQ3K6DlMkSOne5MrpOA9qRpDYvRKqrpYYYjnGvqbIZfo8TigeQJng wLTQRvWKM8Keg== Received: by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kzxco-00EQ6s-AE; Thu, 14 Jan 2021 09:04:58 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "David S. Miller" , Jakub Kicinski , Jon Maloy , Ying Xue , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net Subject: [PATCH v6 12/16] net: tip: fix a couple kernel-doc markups Date: Thu, 14 Jan 2021 09:04:48 +0100 Message-Id: <9d205b0e080153af0fbddee06ad0eb23457e1b1b.1610610937.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org A function has a different name between their prototype and its kernel-doc markup: ../net/tipc/link.c:2551: warning: expecting prototype for link_reset_stats(). Prototype was for tipc_link_reset_stats() instead ../net/tipc/node.c:1678: warning: expecting prototype for is the general link level function for message sending(). Prototype was for tipc_node_xmit() instead Signed-off-by: Mauro Carvalho Chehab Acked-by: Jon Maloy --- net/tipc/link.c | 2 +- net/tipc/node.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tipc/link.c b/net/tipc/link.c index a6a694b78927..115109259430 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c @@ -2544,7 +2544,7 @@ void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win) } /** - * link_reset_stats - reset link statistics + * tipc_link_reset_stats - reset link statistics * @l: pointer to link */ void tipc_link_reset_stats(struct tipc_link *l) diff --git a/net/tipc/node.c b/net/tipc/node.c index 83d9eb830592..008670d1f43e 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -1665,7 +1665,7 @@ static void tipc_lxc_xmit(struct net *peer_net, struct sk_buff_head *list) } /** - * tipc_node_xmit() is the general link level function for message sending + * tipc_node_xmit() - general link level function for message sending * @net: the applicable net namespace * @list: chain of buffers containing message * @dnode: address of destination node From patchwork Thu Jan 14 08:04:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12018839 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4F26C4332E for ; Thu, 14 Jan 2021 08:06:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74499233FD for ; Thu, 14 Jan 2021 08:06:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728194AbhANIG0 (ORCPT ); Thu, 14 Jan 2021 03:06:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:59014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbhANIGW (ORCPT ); Thu, 14 Jan 2021 03:06:22 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AAA6823A55; Thu, 14 Jan 2021 08:05:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610611500; bh=j3vuD+4dfRwkLcutbaOqNgukR9x6zrYbX+EHYnGNnww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IgDHGsDyf+shTEJTgRukn+ZVPF3cld8ySmHXr7zdf/CUufXC3giv2ceR9WHLPO8Hv Ogr8EL/f0SMxDsHYUX/yC+m5T3rIYffEZ8I8pZWJqyRwIySjk6ARkdMGCq9E0zEO4g h6oMywmK0MKoGH/mFuxS2WLtM+TMcewPdnAmAt5eIWTHgRZ7A40GWTZoYIxLWZqAbM g5wIg62yagTnJKaCil/zU7HbBiVbzBeDVeLMTqL/J3N8ldp3DSxTJtwuvAS5FGWrkx jAQA0fBRjn9H0nTBE01EnebSughIetQTZWMZFS7IoQB1mhtN+CjqU6O+zo7Mnayhfw uBk774MF8eESA== Received: by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kzxco-00EQ6w-CP; Thu, 14 Jan 2021 09:04:58 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "David S. Miller" , Jakub Kicinski , Johannes Berg , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v6 13/16] net: cfg80211: fix a kerneldoc markup Date: Thu, 14 Jan 2021 09:04:49 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org A function has a different name between their prototype and its kernel-doc markup: ../include/net/cfg80211.h:1766: warning: expecting prototype for struct cfg80211_sar_chan_ranges. Prototype was for struct cfg80211_sar_freq_ranges instead Signed-off-by: Mauro Carvalho Chehab --- include/net/cfg80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 1b3954afcda4..0d6f7ec86061 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -1756,7 +1756,7 @@ struct cfg80211_sar_specs { /** - * struct cfg80211_sar_chan_ranges - sar frequency ranges + * struct cfg80211_sar_freq_ranges - sar frequency ranges * @start_freq: start range edge frequency * @end_freq: end range edge frequency */