]> 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)
commit283126071a48a6e05de66a3c636a11600b515b0d
tree8a2b086dbc5c0fa7829603c786fa6beeb7dcf575
parent199067bce2bd0494091d368ce773b998135eee6d
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