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: 363402 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 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 --- 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