summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-26 06:49:04 -0300
committerJonathan Corbet <corbet@lwn.net>2018-07-02 11:25:00 -0600
commit5d395fa63baa5cce7314ff806b81c77319432bf2 (patch)
treeccfba4281600097418ae33b421c7c4ec4265f84a /scripts
parentd25c0634441ca59325f1119cbd203ecda65521b2 (diff)
downloadlinux-stable-5d395fa63baa5cce7314ff806b81c77319432bf2.tar.gz
linux-stable-5d395fa63baa5cce7314ff806b81c77319432bf2.tar.bz2
linux-stable-5d395fa63baa5cce7314ff806b81c77319432bf2.zip
scripts/documentation-file-ref-check: ignore sched-pelt false positive
When Documentation/scheduler/sched-pelt.c is compiled, it generates a file called Documentation/scheduler/sched-pelt. As this only exists after building such tool, we need an explict check to remove the false-positive. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/documentation-file-ref-check3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check
index 857eb0d7458d..ad9db6821824 100755
--- a/scripts/documentation-file-ref-check
+++ b/scripts/documentation-file-ref-check
@@ -75,6 +75,9 @@ while (<IN>) {
# Remove URL false-positives
next if ($fulref =~ m/^http/);
+ # Remove sched-pelt false-positive
+ next if ($fulref =~ m,^Documentation/scheduler/sched-pelt$,);
+
# Discard some build examples from Documentation/target/tcm_mod_builder.txt
next if ($fulref =~ m,mnt/sdb/lio-core-2.6.git/Documentation/target,);