]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add a few more --fix corrections
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:23:54 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:39 +0000 (15:58 -0700)
commitae4efc05a9236d4752e7cc0f5f1d0a31d96d0e89
treec1eec612d62f6c6d6ade9a843f89ff34ad94fab4
parent4d1a863365b5a6e2aff93df7a8211ee063dbf7c3
checkpatch: add a few more --fix corrections

Suggest a few more single-line corrections.

Remove DOS line endings
Simplify removing trailing whitespace
Remove global/static initializations to 0/NULL
Convert pr_warning to pr_warn
Add space after brace
Convert binary constants to hex
Remove whitespace after line continuation
Use inline not __inline or __inline__
Use __printf and __scanf
Use a single ; for statement terminations
Convert __FUNCTION__ to __func__

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>
scripts/checkpatch.pl