diff options
author | Joe Perches <joe@perches.com> | 2015-09-10 00:37:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 22:29:01 +0200 |
commit | 86406b1cb7ac4fa5e7691eae5f2fb10c9af03dc3 (patch) | |
tree | 99b418c11806cc4ca0c7622d7ff271e5d96ce4e2 /scripts/extract-vmlinux | |
parent | checkpatch: report the right line # when using --emacs and --file (diff) | |
download | linux-86406b1cb7ac4fa5e7691eae5f2fb10c9af03dc3.tar.xz linux-86406b1cb7ac4fa5e7691eae5f2fb10c9af03dc3.zip |
checkpatch: always check block comment styles
Some of the block comment tests that are used only for networking are
appropriate for all patches.
For example, these styles are not encouraged:
/*
block comment without introductory *
*/
and
/*
* block comment with line terminating */
Remove the networking specific test and add comments.
There are some infrequent false positives where code is lazily
commented out using /* and */ rather than using #if 0/#endif blocks
like:
/* case foo:
case bar: */
case baz:
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/extract-vmlinux')
0 files changed, 0 insertions, 0 deletions