aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a305aa52b8b1..9208ec64af9d 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2167,9 +2167,10 @@ sub process {
2167 MODULE_PARAM_DESC| 2167 MODULE_PARAM_DESC|
2168 DECLARE_PER_CPU| 2168 DECLARE_PER_CPU|
2169 DEFINE_PER_CPU| 2169 DEFINE_PER_CPU|
2170 __typeof__\( 2170 __typeof__\(|
2171 \.$Ident\s*=\s*
2171 }x; 2172 }x;
2172 #print "REST<$rest>\n"; 2173 #print "REST<$rest> dstat<$dstat>\n";
2173 if ($rest ne '') { 2174 if ($rest ne '') {
2174 if ($rest !~ /while\s*\(/ && 2175 if ($rest !~ /while\s*\(/ &&
2175 $dstat !~ /$exceptions/) 2176 $dstat !~ /$exceptions/)