]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on CamelCase variable names
authorJoe Perches <joe@perches.com>
Tue, 18 Dec 2012 00:02:07 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:19 +0000 (17:15 -0800)
commite2d80dab4e837fd2afe266cf38c1acbe268acb01
treefcc114327e37918e20e42a2f4ed00e3b7f158cec
parent1e382c16eed517c1f43a89de3e09cba298ccf109
checkpatch: warn on CamelCase variable names

Store the camelcase variables in a hash and only emit a warning on the
first use of each new variable.

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