Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp315273pxu; Tue, 6 Oct 2020 07:09:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6C7WHvCgsqM1v/SO8ITyjquVJST4fsudIqvbkxjKTARHI5fW4Ju4x5HMJ6TPMqcY6nrMb X-Received: by 2002:a17:906:275b:: with SMTP id a27mr5737030ejd.190.1601993346830; Tue, 06 Oct 2020 07:09:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601993346; cv=none; d=google.com; s=arc-20160816; b=l8xifISckzGfn30EmY6OSj6/Q2mMXDldTzy00l/L6iMxk6OhieBOzI2avIE2ohyUAX 1v9kElru/4x3ZCBReGl/gFSZ3KCydkWaOmcawlAI2EkqeN2ye5Utlbw4ieXFebJXK+6F i09+5Mj/wbOGbpd0be2Ln6y86DmTAnmmT3nhcEXaVyRpyBTO07Cti+DV/B8naJEAflxi kLqbpX1T5XAgPHqgfQKOIt0V4vQmdFPoA0G/V52SADLZ3zvToryCV1LZsEOnVzzF/kNB 80G2Ofl7E5sb6B5uJybwIgVvz4rAWAo1QmK01Oe2oTejze9ka80IIc6DZyHntHFSLLMS XAjg== 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=otGPkCEGQt7LtRPU+G2bn2A3qcU3VRTgIxycb5EpCud+uJifoYpY2vs2asdy3LTdpg 317K4WHNjT+MfCYUHi7dujUNrmTKtE+6gbTX5QYwyRP+003DvMqzk9+cYLhaJv4ZsKPS Q+JJKvjx70pGGSe2qPi4jd0QwLsYm1iZ4QaO/OJeEvOU5WcUx5RFLUnkiRqfkBLG6OLY ENcxzhsdMrYjHqakpeSh9KISSRFg0/ZvLd92xQ+LrQEgYQd9xlnnAcKGZge6ePezDR6y wsFAe/k7p1jd5CCLqVip3R4UJK+LxeExAuEc2YktcuDI+h8c4sQ0tGKu5DJ+r1lHBZIv Jbgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mH15nm1H; 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 h3si2079676eji.590.2020.10.06.07.08.40; Tue, 06 Oct 2020 07:09:06 -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=mH15nm1H; 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 S1727066AbgJFOGi (ORCPT + 99 others); Tue, 6 Oct 2020 10:06:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:33144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbgJFODz (ORCPT ); Tue, 6 Oct 2020 10:03:55 -0400 Received: from mail.kernel.org (ip5f5ad5bd.dynamic.kabel-deutschland.de [95.90.213.189]) (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 6FAC121D90; Tue, 6 Oct 2020 14:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993034; bh=ReWeQAdsRgO/jyvpQynk0BfIa0k5iD1zUW77cmoS650=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mH15nm1H2hTNHQ44WMU8kdnM2cK4NnKRye3tazK3eTeRjCddaLbeyyElRtOLKfNp3 nQltGLXvQGDSHgBLrXTETLycLRIZklUoPwEqrDDlsyQ3fD0Cby1locLm9RcT9+Jx7n KpT/+M3HryrSJ3jvzpJMjEjSm6kxJbG2nhpTl8Pg= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZI-0019Fx-Eg; Tue, 06 Oct 2020 16:03:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , "David S. Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v5 33/52] docs: net: statistics.rst: remove a duplicated kernel-doc Date: Tue, 6 Oct 2020 16:03:30 +0200 Message-Id: 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