Re: [PATCH v4 33/52] docs: net: statistics.rst: remove a duplicated kernel-doc

From: David Miller
Date: Wed Sep 30 2020 - 17:23:08 EST


From: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
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@xxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>