]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add ability to --fix (coalesce) string fragments on multiple lines
authorJoe Perches <joe@perches.com>
Wed, 10 Dec 2014 23:52:05 +0000 (15:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:12 +0000 (17:41 -0800)
commit9fd45f86e6a12ce33e893c4c14c99611504ccb68
tree58fc4a135d201935f44464a82dd8a6dd412accd5
parenteb225cd7e6cdf33c28d695ee8a516d39e96909f2
checkpatch: add ability to --fix (coalesce) string fragments on multiple lines

Add --fix option to coalesce string fragments.

This does not coalesce string fragments that have newline terminations or
are otherwise exempted.

Other miscellanea:

o move all the string tests together.
o fix get_quoted_string function for tab characters
o fix concatination typo

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl