From: Andrew Morton Date: Thu, 8 Dec 2011 04:42:26 +0000 (+1100) Subject: checkpatch-catch-all-occurances-of-type-and-cast-spacing-errors-per-line-checkpatch... X-Git-Tag: next-20111213~1^2~96 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1244671e0b842a835502f0a1877cb5043da73ec8;p=karo-tx-linux.git checkpatch-catch-all-occurances-of-type-and-cast-spacing-errors-per-line-checkpatch-fixes Someone doesn't feed checkpatch patches through checkpatch!! Cc: Andy Whitcroft Cc: Joe Perches Signed-off-by: Andrew Morton --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 51cf1dcfed5a..e3bfcbe8a520 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2226,7 +2226,7 @@ sub process { ERROR("POINTER_LOCATION", "\"(foo$from)\" should be \"(foo$to)\"\n" . $herecurr); } - } + } while ($line =~ m{(\b$NonptrType(\s*(?:$Modifier\b\s*|\*\s*)+)($Ident))}g) { #print "BB<$1>\n"; my ($from, $to, $ident) = ($2, $2, $3);