]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scripts: documentation-file-ref-check: fix bpf selftests path
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 19 Oct 2021 07:42:51 +0000 (08:42 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 26 Oct 2021 15:42:29 +0000 (09:42 -0600)
commit6e74e68d0b4cec4255d3af09cfa5426b8e20d549
treef7bc32fe5278e901d44bbbe505fd45c603b46469
parent14efb275d409c774813af4aaac99806927fa215e
scripts: documentation-file-ref-check: fix bpf selftests path

tools/testing/selftests/bpf/test_bpftool_synctypes.py use
relative patches on the top of BPFTOOL_DIR:

BPFTOOL_DIR = os.path.join(LINUX_ROOT, 'tools/bpf/bpftool')

Change the script to automatically convert:

testing/selftests/bpf -> bpf/bpftool

In order to properly check the files used by such script.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/49b765cbac6ccd22d627573154806ec9389d60f0.1634629094.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/documentation-file-ref-check