diff options
| author | Joe Perches <[email protected]> | 2012-03-23 22:02:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-03-23 23:58:37 +0000 |
| commit | aad4f61498314d41d047ea2161b7bd7237b72d33 (patch) | |
| tree | 503836c82abeaed36ad119538fa3cbb7b8d94b24 /net/unix/af_unix.c | |
| parent | checkpatch: add [] to type extensions (diff) | |
| download | kernel-aad4f61498314d41d047ea2161b7bd7237b72d33.tar.gz kernel-aad4f61498314d41d047ea2161b7bd7237b72d33.zip | |
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 <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
