]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add --strict test for concatenated string elements
authorJoe Perches <joe@perches.com>
Mon, 13 Oct 2014 22:51:51 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:15 +0000 (02:18 +0200)
commit77ec461b3e9d98ee85feea1ae040ac138e82bf05
tree600a0d028973abcdbd469e4d31003bebdd01cd17
parent31a4564c3d0e826dd5e0cf168404c43f0c358cb6
checkpatch: add --strict test for concatenated string elements

Using a space between concatenated string elements is easier for a human
to read.

ie:
"String"FOO"bar"

is easier to read as:

"String" FOO "bar"

So suggest this style with a --strict command line option.

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