]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: change CamelCase test and make it --strict
authorJoe Perches <joe@perches.com>
Fri, 7 Jun 2013 00:08:44 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:44 +0000 (15:42 +1000)
commit160538e463bd4bc08bd9b60c759797b33742455a
tree30f86b0d5eca1a3cb15ef43502c08372189675c2
parent212b5f167cc9c9abae3d798e8dc09f016f1e7378
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