Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp376256pxb; Thu, 14 Jan 2021 08:02:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHrd+6SJyL2JSiWIzIPDLdZDgXRdpRintND2i6K7rO6Q7P1duTx5rEz0esdbZ/PclTHJLj X-Received: by 2002:a17:906:2496:: with SMTP id e22mr1006222ejb.362.1610640148083; Thu, 14 Jan 2021 08:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610640148; cv=none; d=google.com; s=arc-20160816; b=bDOzTFzIfWzCag5E25VjzsoNw3tYNsKs6dgES3VnX3ApRRjCd57eqU8FZnDvl7Eo4G JFmeXaEJikCx4H+aR4P7vVgLeYYQVPnCFc0Ht6BJOy1H/FOSgjrIMKMwKFOeLl0lqgS4 VezNGM0iW8pdLwi+aEL7zbzjMQqqng+hRth/Oa2Gy7HKv1UYms63KNBI91qhrokSVGCt eMBcWW0Mmsx3Z/9UVidbrm6uqJPzwRRzpXBNvkLTeMosfG4Hft1uaq8BtnC/4Hhx9Pg2 ukqlB9Wsi/uDaZZXFjvNekZWKVVv6cI+DRJkiw/+1odHHAOdYy2x1Hdd+WPAZw9c3f3O tCTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=N1jiFZ+BTbOnp7BDFCcT1kr+iDpCrn9geTo5A349Jxs=; b=jjK7QNrlImSBraccJOReqbeLX+Nm3THB7zxLeZf3Sj3Fx66I93EVuV9hdTKu8T9mvC lvWfufir1aH9DosxTUImQiawmYHLOURTRgIrQSpfvqYAOVRMQHhGAli0VtgjDzhJYBtQ Eqy5AndU0Tupv2MjRPGoEXg8W1IKzroVkk5nmQ6D34AHpDQwYDIwAJ7kTyA62WDkDgZh FNSr8dTwB3X2yI5CJdtR+FHScHqVHrisTma+ccEkY0gSXdtvpPx16q9t+dOqaxKDXrrO HWNUfhgxLPXvMz6VXUWIGT/BoF6/T62jSKRgfkZCKqJFVWz45/nXQxc4i2QKbiytZadh BFGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="h6sc5S/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si3049271edd.161.2021.01.14.08.02.03; Thu, 14 Jan 2021 08:02:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="h6sc5S/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729227AbhANQAe (ORCPT + 99 others); Thu, 14 Jan 2021 11:00:34 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:36529 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbhANQAe (ORCPT ); Thu, 14 Jan 2021 11:00:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610639960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N1jiFZ+BTbOnp7BDFCcT1kr+iDpCrn9geTo5A349Jxs=; b=h6sc5S/e8WzriJZeodn/zeb8/IbMuL8U3MO26ic5tcYgJyPFe6aJyteTV9AShn2RE3xLZs wOQKJKLqB2nYBRwt9vCxBGfS9gqIsBFdmNXmyWSJ8QEwEqkRfy73XvBFP9FyiLmrtPuFx7 WfGdAJ3iT588pAwK7KhJzWzjqGaz7Ik= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-547-WJoENA_jPsCQCmvq4JJr6Q-1; Thu, 14 Jan 2021 10:59:15 -0500 X-MC-Unique: WJoENA_jPsCQCmvq4JJr6Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CF028107565A; Thu, 14 Jan 2021 15:59:10 +0000 (UTC) Received: from [10.10.119.172] (ovpn-119-172.rdu2.redhat.com [10.10.119.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id 933F718A50; Thu, 14 Jan 2021 15:59:09 +0000 (UTC) Subject: Re: [PATCH v6 12/16] net: tip: fix a couple kernel-doc markups To: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet Cc: "David S. Miller" , Jakub Kicinski , Ying Xue , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net References: <9d205b0e080153af0fbddee06ad0eb23457e1b1b.1610610937.git.mchehab+huawei@kernel.org> From: Jon Maloy Message-ID: Date: Thu, 14 Jan 2021 10:59:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <9d205b0e080153af0fbddee06ad0eb23457e1b1b.1610610937.git.mchehab+huawei@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/14/21 3:04 AM, Mauro Carvalho Chehab wrote: > 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 Acked-by: Jon Maloy