From: Andy Whitcroft Date: Thu, 24 Jul 2008 04:28:57 +0000 (-0700) Subject: checkpatch: types: some types may also be identifiers X-Git-Tag: v2.6.27-rc1~716 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8cb2ca37ed51aa1f3b20e3eff1e72df1c400f70;p=pandora-kernel.git checkpatch: types: some types may also be identifiers Some types such as typedefs may overlap real identifiers. Be more targetted about when a type can really exist. Where it cannot let it be an identifier. This prevents false reporting of the minus '-' in unary context in the following: foo[bar->bool - 1]; Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed