]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: create an EXPERIMENTAL --fix option to correct patches
authorJoe Perches <joe@perches.com>
Wed, 19 Jun 2013 00:07:21 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:07 +0000 (17:27 +1000)
commitc038a48b6b84d10721778393ed43c090b6f8e483
treeab476824600f46d09f990390d49ec618439ab9a9
parent89fdd6ffcbde42acb63f10e10b9a222db699ef2d
checkpatch: create an EXPERIMENTAL --fix option to correct patches

Some patches have simple defects in whitespace and formatting that
checkpatch could correct automatically.  Attempt to do so.

Add a --fix option to create a "<inputfile>.EXPERIMENTAL-checkpatch-fixes"
file that tries to use normal kernel style for some of these formatting
errors.

Add warnings against using this file without verifying the changes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl