]> git.baikalelectronics.ru Git - kernel.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)
commit642571fe51a2a24a2fc1cf14104d9e3b951c3bc2
treeedfe965d3efa84305a9c6fe83ecfe24b97bdc7fb
parentf6fce6e556d0f2c89a95ba312f0e7a1bd8d6c455
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