]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add check for space after struct, union, and enum
authorAndy Whitcroft <apw@canonical.com>
Tue, 26 Oct 2010 21:23:14 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:20 +0000 (16:52 -0700)
commitf45ff019de8b5adef7fab6fb69fc1f8a87a490bc
treef32e86109cce060816afdcbd9e55cd7c991a495b
parent09a23b5fbe726043d7aaef129497afd3a61bee5f
checkpatch: add check for space after struct, union, and enum

Add spacing checks for struct, union, and enum definitions.  Check the
spacing after type and before the equals (=) and open brace ({).

Based on a patch by Joe Perches.

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