]> 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)
commit628f395df5c16b62c5d84a91d152ee87714eba16
treec1eec612d62f6c6d6ade9a843f89ff34ad94fab4
parentf97e90c974be4f80b359ec0df047bfca300ec6ba
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