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 c7e4d73fe1ce..57e7daa2bdf9 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5692,7 +5692,7 @@ sub process {
5692 for (my $count = $linenr; $count <= $lc; $count++) { 5692 for (my $count = $linenr; $count <= $lc; $count++) {
5693 my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0)); 5693 my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0));
5694 $fmt =~ s/%%//g; 5694 $fmt =~ s/%%//g;
5695 if ($fmt =~ /(\%[\*\d\.]*p(?![\WFfSsBKRraEhMmIiUDdgVCbGN]).)/) { 5695 if ($fmt =~ /(\%[\*\d\.]*p(?![\WFfSsBKRraEhMmIiUDdgVCbGNO]).)/) {
5696 $bad_extension = $1; 5696 $bad_extension = $1;
5697 last; 5697 last;
5698 } 5698 }