summaryrefslogtreecommitdiffstats
path: root/scripts/documentation-file-ref-check
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-14 06:48:22 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-15 17:10:01 -0400
commit50440240021ca3cefe376fa11a7ae085734f165a (patch)
tree8d9b3169ca289b84d253db39f0e6d7f0717f0e05 /scripts/documentation-file-ref-check
parent40fc3eb055cb39429dc16a94e825a5598befb9a7 (diff)
scripts/documentation-file-ref-check: accept more wildcards at filenames
at MAINTAINERS, some filename paths use '?' and things like [7,9]. So, accept more wildcards, in order to avoid false-positives. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Acked-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/documentation-file-ref-check')
-rwxr-xr-xscripts/documentation-file-ref-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check
index 9e7ae14080aa..9d5e21b10346 100755
--- a/scripts/documentation-file-ref-check
+++ b/scripts/documentation-file-ref-check
@@ -43,7 +43,7 @@ while (<IN>) {
43 # Skip this script 43 # Skip this script
44 next if ($f eq $scriptname); 44 next if ($f eq $scriptname);
45 45
46 if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*+-]*),) { 46 if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*),) {
47 my $prefix = $1; 47 my $prefix = $1;
48 my $ref = $2; 48 my $ref = $2;
49 my $base = $2; 49 my $base = $2;