]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
checkpatch: check spacing for square brackets
authorAndy Whitcroft <apw@shadowen.org>
Thu, 24 Jul 2008 04:29:02 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:25 +0000 (10:47 -0700)
commit8d31cfcecf67563d70cd68616cb8fb4384f24b51
treeedfe965d3efa84305a9c6fe83ecfe24b97bdc7fb
parente2a763c20b89890d2153551b1af6962b135de4c0
checkpatch: check spacing for square brackets

Check on the spacing before square brackets.  We should only allow spaces
there if this is part of a type definition or an initialialiser.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl