]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: change CamelCase test and make it --strict
authorJoe Perches <joe@perches.com>
Wed, 19 Jun 2013 00:07:17 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:04 +0000 (17:27 +1000)
commit301986d1eb3b3e1b8faf3af0b925aa84d0d77473
tree9d3cd62a0d8439e22b89959fd03fa5c48abf379b
parent6cfe387e067bb6279e586aca3560600ead2c5dda
checkpatch: change CamelCase test and make it --strict

Do not bleat a message on nominally acceptable CamelCase uses that are
separated by an _ like drm_core_has_MTRR.

CamelCase tests are also a bit noisy against certain types of code
acceptable to some kernel developers.

Make the test applicable only with --strict.

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