[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200930.142306.880363049583322752.davem@davemloft.net>
Date: Wed, 30 Sep 2020 14:23:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mchehab+huawei@...nel.org
Cc: linux-doc@...r.kernel.org, corbet@....net, kuba@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v4 33/52] docs: net: statistics.rst: remove a
duplicated kernel-doc
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Date: Wed, 30 Sep 2020 15:24:56 +0200
> 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'.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists