]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
checkpatch-catch-all-occurances-of-type-and-cast-spacing-errors-per-line-checkpatch...
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 2 Dec 2011 03:12:47 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:44 +0000 (14:15 +1100)
Someone doesn't feed checkpatch patches through checkpatch!!

Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl

index 51cf1dcfed5ac021d89e4a75fe9b79b0cbadcc3a..e3bfcbe8a520b63639b04115bf148fb4ddd144eb 100755 (executable)
@@ -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);