From ea699750fba3fd274f500bfb7c851430d838c3d8 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Wed, 17 Apr 2013 15:58:26 -0700 Subject: [PATCH] --- yaml --- r: 362592 b: refs/heads/master c: e942e2c3f7e093fc8756dd8b47c93a821c09429f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d8c158701d06..5efb24b740b6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d875cf08391a811703f8adf39db598cac9ece6a1 +refs/heads/master: e942e2c3f7e093fc8756dd8b47c93a821c09429f diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index b28cc384a5bc..4de4bc48493b 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -3016,6 +3016,7 @@ sub process { $dstat !~ /^'X'$/ && # character constants $dstat !~ /$exceptions/ && $dstat !~ /^\.$Ident\s*=/ && # .foo = + $dstat !~ /^(?:\#\s*$Ident|\#\s*$Constant)\s*$/ && # stringification #foo $dstat !~ /^do\s*$Constant\s*while\s*$Constant;?$/ && # do {...} while (...); // do {...} while (...) $dstat !~ /^for\s*$Constant$/ && # for (...) $dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar()