aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index afc656d00589..ca6d0fb229f2 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2838,7 +2838,7 @@ sub process {
2838 $dstat !~ /^(?:$Ident|-?$Constant)$/ && # 10 // foo() 2838 $dstat !~ /^(?:$Ident|-?$Constant)$/ && # 10 // foo()
2839 $dstat !~ /$exceptions/ && 2839 $dstat !~ /$exceptions/ &&
2840 $dstat !~ /^\.$Ident\s*=/ && # .foo = 2840 $dstat !~ /^\.$Ident\s*=/ && # .foo =
2841 $dstat !~ /^do\s*$Constant\s*while\s*$Constant;$/ && # do {...} while (...); 2841 $dstat !~ /^do\s*$Constant\s*while\s*$Constant;?$/ && # do {...} while (...); // do {...} while (...)
2842 $dstat !~ /^for\s*$Constant$/ && # for (...) 2842 $dstat !~ /^for\s*$Constant$/ && # for (...)
2843 $dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar() 2843 $dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar()
2844 $dstat !~ /^do\s*{/ && # do {... 2844 $dstat !~ /^do\s*{/ && # do {...