aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 5fe361e1ed5e..d2464002bb40 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -6429,7 +6429,7 @@ sub process {
6429 } 6429 }
6430 6430
6431# check for uses of S_<PERMS> that could be octal for readability 6431# check for uses of S_<PERMS> that could be octal for readability
6432 if ($line =~ /\b($multi_mode_perms_string_search)\b/) { 6432 while ($line =~ m{\b($multi_mode_perms_string_search)\b}g) {
6433 my $oval = $1; 6433 my $oval = $1;
6434 my $octal = perms_to_octal($oval); 6434 my $octal = perms_to_octal($oval);
6435 if (WARN("SYMBOLIC_PERMS", 6435 if (WARN("SYMBOLIC_PERMS",