The patch titled Subject: checkpatch: add --strict test for strings split across multiple lines has been removed from the -mm tree. Its filename was checkpatch-add-strict-test-for-strings-split-across-multiple-lines.patch This patch was dropped because it is obsolete The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Joe Perches <joe@xxxxxxxxxxx> Subject: checkpatch: add --strict test for strings split across multiple lines Strings split across multiple lines are commonly used as formats. These uncoalesced formats are hard to grep and are relatively error prone. Suggest coalescing split strings when using --strict. Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> Cc: Andy Whitcroft <apw@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/checkpatch.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN scripts/checkpatch.pl~checkpatch-add-strict-test-for-strings-split-across-multiple-lines scripts/checkpatch.pl --- a/scripts/checkpatch.pl~checkpatch-add-strict-test-for-strings-split-across-multiple-lines +++ a/scripts/checkpatch.pl @@ -1860,6 +1860,12 @@ sub process { "Don't begin block comments with only a /* line, use /* comment...\n" . $hereprev); } + if ($prevline =~ /^\+.*"[ \t]*$/ && + $line =~ /^\+[ \t]*"/) { + CHK("COALESCE_STRING", + "Coalesced strings are easier to grep and less error prone\n" . $hereprev); + } + # check for spaces at the beginning of a line. # Exceptions: # 1) within comments _ Patches currently in -mm which might be from joe@xxxxxxxxxxx are origin.patch checkpatch-warn-on-use-of-yield.patch checkpatch-whitespace-add-remove-blank-lines.patch checkpatch-check-for-quoted-strings-broken-across-lines.patch linux-next.patch maintainers-fix-remoteproc-f-typo.patch checkpatch-suggest-pr_level-over-printkkern_level.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html