From d27da8e6754a6c0e49a334fdcdabb4f0ab00e058 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Tue, 26 Oct 2010 14:23:11 -0700 Subject: [PATCH] --- yaml --- r: 217582 b: refs/heads/master c: e91b6e263ed6735c766cb14bbe63b9c7bd774526 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f45dd242a9fd..362931cbeb0a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6b4c5bebcebb0a48d29947e9aa749650751a7696 +refs/heads/master: e91b6e263ed6735c766cb14bbe63b9c7bd774526 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 0a87c7417ada..41f59b1e209b 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -843,7 +843,7 @@ sub annotate_values { $av_preprocessor = 0; } - } elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\)|\()/) { + } elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\)|\(|\s*$)/) { print "DECLARE($1)\n" if ($dbg_values > 1); $type = 'T';