]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on missing spaces in broken up quoted
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Aug 2014 23:11:29 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:29 +0000 (18:01 -0700)
commit1df55b67a6efb43109951773b0ffa096723f94e1
tree8a2b086dbc5c0fa7829603c786fa6beeb7dcf575
parent5005d9f03bdb70bef9a2b993a98d01d8fb7a4c64
checkpatch: warn on missing spaces in broken up quoted

Checkpatch already complains when people break up quoted strings but
it's still pretty common.  One mistake that people often make is they
leave out the space character between the two strings.

This check adds around 450 new warnings and has a low rate of false
positives.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Andy Whitcroft <apw@canonical.com>
Acked-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