From: Andrew Morton Date: Fri, 2 Dec 2011 03:12:47 +0000 (+1100) Subject: checkpatch-catch-all-occurances-of-type-and-cast-spacing-errors-per-line-checkpatch... X-Git-Tag: next-20111206~1^2~88 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=be7b237613fcde9ab6828a9399ecb599b75edcd6;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);