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)
commit5e4f6ba5eb7facb0dbf2734f5a12033c70f8eb53
tree58fc4a135d201935f44464a82dd8a6dd412accd5
parentb75ac618df751b927469ddbca63cf151a62f0f9d
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