linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Nakryiko <andrii.nakryiko@gmail.com>
To: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Linux Doc Mailing List <linux-doc@vger.kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	"David S. Miller" <davem@davemloft.net>,
	Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	David Beckett <david.beckett@netronome.com>,
	Jakub Kicinski <kuba@kernel.org>,
	John Fastabend <john.fastabend@gmail.com>,
	KP Singh <kpsingh@kernel.org>, Martin KaFai Lau <kafai@fb.com>,
	Quentin Monnet <quentin@isovalent.com>,
	Shuah Khan <shuah@kernel.org>, Song Liu <songliubraving@fb.com>,
	Yonghong Song <yhs@fb.com>, bpf <bpf@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	"open list:KERNEL SELFTEST FRAMEWORK" 
	<linux-kselftest@vger.kernel.org>,
	Networking <netdev@vger.kernel.org>
Subject: Re: [PATCH v2 09/23] tools: bpftool: update bpftool-map.rst reference
Date: Fri, 17 Sep 2021 10:17:46 -0700	[thread overview]
Message-ID: <CAEf4BzaULanV_QFbZxA=f-vYZ5LrFZji1Nwq3xn68qO08AHQpw@mail.gmail.com> (raw)
In-Reply-To: <803e3a74d7f9b5fe23e4f8222af0e6629d1cd76a.1631785820.git.mchehab+huawei@kernel.org>

On Thu, Sep 16, 2021 at 2:55 AM Mauro Carvalho Chehab
<mchehab+huawei@kernel.org> wrote:
>
> The file name: Documentation/bpftool-map.rst
> should be, instead: tools/bpf/bpftool/Documentation/bpftool-map.rst.
>
> Update its cross-reference accordingly.
>
> Fixes: a2b5944fb4e0 ("selftests/bpf: Check consistency between bpftool source, doc, completion")
> Fixes: ff69c21a85a4 ("tools: bpftool: add documentation")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
>  tools/testing/selftests/bpf/test_bpftool_synctypes.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/bpf/test_bpftool_synctypes.py b/tools/testing/selftests/bpf/test_bpftool_synctypes.py
> index 27a2c369a798..2d7eb683bd5a 100755
> --- a/tools/testing/selftests/bpf/test_bpftool_synctypes.py
> +++ b/tools/testing/selftests/bpf/test_bpftool_synctypes.py
> @@ -383,7 +383,7 @@ class ManMapExtractor(ManPageExtractor):
>      """
>      An extractor for bpftool-map.rst.
>      """
> -    filename = os.path.join(BPFTOOL_DIR, 'Documentation/bpftool-map.rst')
> +    filename = os.path.join(BPFTOOL_DIR, 'tools/bpf/bpftool/Documentation/bpftool-map.rst')

this is wrong, BPFTOOL_DIR already includes "tools/bpf/bpftool" part.
Did you test this? There are many places where BPFTOOL_DIR is joined
with bpftool-local file paths, you haven't updated them. So I assume
this was done blindly with some sort of script? Please be careful with
such changes.

>
>      def get_map_types(self):
>          return self.get_rst_list('TYPE')
> --
> 2.31.1
>

  reply	other threads:[~2021-09-17 17:17 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16  9:54 [PATCH v2 00/23] Fix some issues at documentation Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 01/23] visorbus: fix a copyright symbol that was bad encoded Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 02/23] dt-bindings: net: dsa: sja1105: update nxp,sja1105.yaml reference Mauro Carvalho Chehab
2021-09-17  1:45   ` Rob Herring
2021-09-16  9:55 ` [PATCH v2 03/23] dt-bindings: arm: mediatek: mmsys: update mediatek,mmsys.yaml reference Mauro Carvalho Chehab
2021-09-17  1:58   ` Rob Herring
2021-09-16  9:55 ` [PATCH v2 04/23] dt-bindings: w1: update w1-gpio.yaml reference Mauro Carvalho Chehab
2021-09-17  1:51   ` Rob Herring
2021-09-16  9:55 ` [PATCH v2 05/23] dt-bindings: mmc: update mmc-card.yaml reference Mauro Carvalho Chehab
2021-09-17  1:52   ` Rob Herring
2021-09-17  1:56     ` Rob Herring
2021-09-23 18:49   ` Ulf Hansson
2021-09-16  9:55 ` [PATCH v2 06/23] libbpf: update index.rst reference Mauro Carvalho Chehab
2021-09-16 18:15   ` Andrii Nakryiko
2021-09-16  9:55 ` [PATCH v2 07/23] docs: accounting: update delay-accounting.rst reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 08/23] tools: bpftool: update bpftool-prog.rst reference Mauro Carvalho Chehab
2021-09-17 17:18   ` Andrii Nakryiko
2021-09-16  9:55 ` [PATCH v2 09/23] tools: bpftool: update bpftool-map.rst reference Mauro Carvalho Chehab
2021-09-17 17:17   ` Andrii Nakryiko [this message]
2021-09-16  9:55 ` [PATCH v2 10/23] bpftool: update bpftool-cgroup.rst reference Mauro Carvalho Chehab
2021-09-17 17:19   ` Andrii Nakryiko
2021-09-16  9:55 ` [PATCH v2 11/23] MAINTAINERS: update arm,vic.yaml reference Mauro Carvalho Chehab
2021-09-16 10:33   ` Sudeep Holla
2021-09-16  9:55 ` [PATCH v2 12/23] MAINTAINERS: update aspeed,i2c.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 13/23] MAINTAINERS: update faraday,ftrtc010.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 14/23] MAINTAINERS: update fsl,fec.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 15/23] MAINTAINERS: update ti,sci.yaml reference Mauro Carvalho Chehab
2021-09-16 11:57   ` Nishanth Menon
2021-09-16  9:55 ` [PATCH v2 16/23] MAINTAINERS: update intel,ixp46x-rng.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 17/23] MAINTAINERS: update nxp,imx8-jpeg.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 18/23] MAINTAINERS: update gemini.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 19/23] MAINTAINERS: update brcm,unimac-mdio.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 20/23] MAINTAINERS: update chipone,icn8318.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 21/23] MAINTAINERS: update silergy,sy8106a.yaml reference Mauro Carvalho Chehab
2021-09-16 11:34   ` Mark Brown
2021-09-16  9:55 ` [PATCH v2 22/23] MAINTAINERS: update mtd-physmap.yaml reference Mauro Carvalho Chehab
2021-09-16  9:55 ` [PATCH v2 23/23] MAINTAINERS: update ti,am654-hbmc.yaml reference Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEf4BzaULanV_QFbZxA=f-vYZ5LrFZji1Nwq3xn68qO08AHQpw@mail.gmail.com' \
    --to=andrii.nakryiko@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=david.beckett@netronome.com \
    --cc=john.fastabend@gmail.com \
    --cc=kafai@fb.com \
    --cc=kpsingh@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=quentin@isovalent.com \
    --cc=shuah@kernel.org \
    --cc=songliubraving@fb.com \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).