aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 6ddae89c3cfa..c7980ff2975e 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2392,6 +2392,7 @@ sub process {
2392 my $string; 2392 my $string;
2393 while ($line =~ /(?:^|")([X\t]*)(?:"|$)/g) { 2393 while ($line =~ /(?:^|")([X\t]*)(?:"|$)/g) {
2394 $string = substr($rawline, $-[1], $+[1] - $-[1]); 2394 $string = substr($rawline, $-[1], $+[1] - $-[1]);
2395 $string =~ s/%%/__/g;
2395 if ($string =~ /(?<!%)%L[udi]/) { 2396 if ($string =~ /(?<!%)%L[udi]/) {
2396 WARN("\%Ld/%Lu are not-standard C, use %lld/%llu\n" . $herecurr); 2397 WARN("\%Ld/%Lu are not-standard C, use %lld/%llu\n" . $herecurr);
2397 last; 2398 last;