From: Joe Perches Date: Fri, 23 Mar 2012 22:02:19 +0000 (-0700) Subject: checkpatch: add --strict tests for braces, comments and casts X-Git-Tag: v3.4-rc1~109^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad4f61498314d41d047ea2161b7bd7237b72d33;p=pandora-kernel.git checkpatch: add --strict tests for braces, comments and casts Add some more subjective --strict tests. Add a test for block comments that start with a blank line followed only by a line with just the comment block initiator. Prefer a blank line followed by /* comment... Add a test for unnecessary spaces after a cast. Add a test for symmetric uses of braces in if/else blocks. If one branch needs braces, then all branches should use braces. Signed-off-by: Joe Perches Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed