From: Mauro Carvalho Chehab Date: Tue, 26 Jun 2018 09:49:04 +0000 (-0300) Subject: scripts/documentation-file-ref-check: ignore sched-pelt false positive X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5d395fa63baa5cce7314ff806b81c77319432bf2;p=linux.git 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 Signed-off-by: Jonathan Corbet --- diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 857eb0d7458d7..ad9db68218243 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -75,6 +75,9 @@ while () { # 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,);