From: Joe Perches Date: Wed, 11 Sep 2013 21:23:55 +0000 (-0700) Subject: checkpatch: check CamelCase by word, not by $Lval X-Git-Tag: v3.12-rc1~52^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e781f67df436b67753a65436c0fef0a0ebf5043;p=pandora-kernel.git checkpatch: check CamelCase by word, not by $Lval $Lval is a test for complete name (ie: foo->bar.Baz[1]) If any of this is CamelCase, then the current test uses the entire $Lval. This isn't optimal because it can emit messages with foo->bar.Baz and bar.Baz when Baz is a variable specified in an include file. So instead, break the $Lval into words and check each word for CamelCase uses. Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed