]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: change CamelCase test and make it --strict
authorJoe Perches <joe@perches.com>
Thu, 23 May 2013 00:37:29 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:11 +0000 (16:09 +1000)
commitb796b1bbd1b97d6c0d253f44795f567e95e0c1a4
tree4d4a8112850c0fe729bab2a903645cdec0f623f5
parente9cec472b792e96a5627e9af78dad4c7d3f8eb63
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