Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4890412pxu; Tue, 13 Oct 2020 09:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzupeAHZrmhMyNqLTMlh5Vm548B4arqlHqomE6QatTYgKZ7pY1TYZ8fslnvAOcfEhhA6zyn X-Received: by 2002:a17:907:aa9:: with SMTP id bz9mr550530ejc.472.1602606417250; Tue, 13 Oct 2020 09:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602606417; cv=none; d=google.com; s=arc-20160816; b=gKaFGABxX1k5Lp1u4KzYOt70o51pE1veEwcET2s0JZs1FZX/zWWHuf5dUgcg6vJ3bG Rz6qS8VuXG0RKBs0AeizHONJHL/9yMKTRagnSCOfNMqeHVCI+TbePIB5c/oHC4ugY66F +jihafpyrtnOqJbkmGcs8sGUH0v1XsP/sooPJwRvRDa+zsWPYGV6LXHRSVjnJxVIgvKl MdLUk2UuZEiBu71DXQ48hKq5ECPJVrnDY/ULrHGKdf6u27i1NbHU1cjErpOyYiLdrUiY j2XlqhOwd7le7V2VsCWobjg/W7ei0MRYkYYY7awxVG3COpuTn8kDhxDBX2y9VT+h7NwD 9WaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Eis6HOi+iUBimRGNSWjVKaTB91yQwMbbq4TM/Zr6Kxo=; b=EBepb0Zj0iHGfd1Q1Cu9myLep0TesBCVFbR7Kdp1pDp2BwgHdgC84kiuMhU1c//jgD 27hEYoQ2g6EyI/IE5ibppZqZF2jQ/UQmkmoaWmhjBaMniqY9VXU1xqr75jVVIgiZ4AEA XF0OePFyqpMpzXDex7v6gWyXG6Vbn/wcheiBHdfR9hEgg9flcK/23IwdxiibAtkojtkb eZn5RkPjwnKPW6tEE59U1gwf8fvPPlA1Q1PKG1vY9LRe4zI0/eg7bK+9pErDlFfTga5U EcMjfFvsAapRJTeIggN7CG0kLHE3+xuz5tQn/fvyQ8oD6MlXKNCpu1D7Eox2lrZYDXjs D+Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mSBfPkA0; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si189194edj.40.2020.10.13.09.26.34; Tue, 13 Oct 2020 09:26:57 -0700 (PDT) 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=@kernel.org header.s=default header.b=mSBfPkA0; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727807AbgJMMQf (ORCPT + 99 others); Tue, 13 Oct 2020 08:16:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:41122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726881AbgJMMO4 (ORCPT ); Tue, 13 Oct 2020 08:14:56 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 06EAB22259; Tue, 13 Oct 2020 12:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602591295; bh=ReWeQAdsRgO/jyvpQynk0BfIa0k5iD1zUW77cmoS650=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mSBfPkA08R1XVmVSSTOhDI1cky7v8/jEmZ3JPPIrdtsqXlGagJZFPZn3faDl0OWsb gL34LAY8f/wt8cDc3Hz5mRo9F3Ufb44/T4FMQZs1KsaZg5LMugPUA9c6iG0AL4Ej7L dA39u+7SqXOzoOohgo0DJMkFA/VAmIjJvdA6sH1w= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSJCf-006CoO-32; Tue, 13 Oct 2020 14:14:53 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "David S. Miller" , "Jonathan Corbet" , Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v2 15/24] docs: net: statistics.rst: remove a duplicated kernel-doc Date: Tue, 13 Oct 2020 14:14:42 +0200 Message-Id: <91767bf1dc65a8989d25e08e6af8feb1529b4136.1602590106.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org include/linux/ethtool.h is included twice with kernel-doc, both to document ethtool_pause_stats(). The first one is at statistics.rst, and the second one at ethtool-netlink.rst. Replace one of the references to use the name of the function. The automarkup.py extension should create the cross-references. Solves this warning: ../Documentation/networking/ethtool-netlink.rst: WARNING: Duplicate C declaration, also defined in 'networking/statistics'. Declaration is 'ethtool_pause_stats'. Acked-by: David S. Miller Signed-off-by: Mauro Carvalho Chehab --- Documentation/networking/statistics.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/networking/statistics.rst b/Documentation/networking/statistics.rst index 8e15bc98830b..234abedc29b2 100644 --- a/Documentation/networking/statistics.rst +++ b/Documentation/networking/statistics.rst @@ -175,5 +175,4 @@ The following structures are internal to the kernel, their members are translated to netlink attributes when dumped. Drivers must not overwrite the statistics they don't report with 0. -.. kernel-doc:: include/linux/ethtool.h - :identifiers: ethtool_pause_stats +- ethtool_pause_stats() -- 2.26.2