OSDN Git Service

scripts/documentation-file-ref-check: improve tools ref handling
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 29 May 2019 23:09:29 +0000 (20:09 -0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 30 May 2019 16:40:24 +0000 (10:40 -0600)
commit4904aeed9f686c90dba72980f0067ac1a7dbbfb6
treeb41ae02a422dd507c53bacc3da46eb56db84e22d
parentaeaacbfed853c17b8ac5e73c21f54d7f0805d899
scripts/documentation-file-ref-check: improve tools ref handling

There's a false positive on perf/util:

tools/perf/util/s390-cpumsf.c: Documentation/perf.data-file-format.txt

The file is there at tools/perf/Documentation/, but the logic
with detects relative documentation references inside tools is
not capable of detecting it.

So, improve it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/documentation-file-ref-check