]> 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)
commitb5c5295565fd02dfef61eadf562539277e5ef97e
treefcc114327e37918e20e42a2f4ed00e3b7f158cec
parent18b57e8b729220add4f0f8bbb5539e027fddc00f
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