commit | 8cf6de7145943caa38c56c61cd83b17687afd900 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Tue Oct 26 14:23:14 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 16:52:20 2010 -0700 |
tree | f32e86109cce060816afdcbd9e55cd7c991a495b | |
parent | 53a3c4487a05b8f26ef72fe434a750a3402c998f [diff] |
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>