]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: use $String consistently
authorJoe Perches <joe@perches.com>
Thu, 25 Jun 2015 22:02:54 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2015 00:00:41 +0000 (17:00 -0700)
commit24f9e5bbd69158edc837c590ed7b305db84d6122
treedfa43d3074a110d45ef813baf70f87d4a5b4a72e
parentee04b5556a30037c1b80126c205987da21f80eea
checkpatch: use $String consistently

String detection where a source line with a string constant is converted
can either have an X or a space.

Some of the string detection regexes do not allow the space character, but
there is a handy $String variable that does.

Convert the remaining uses of string detection regexes to use the $String
variable to reduce possible false negatives.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl