From: Andy Whitcroft Date: Tue, 26 Oct 2010 21:23:13 +0000 (-0700) Subject: checkpatch: handle casts better fixing false categorisation of : as binary X-Git-Tag: v2.6.37-rc1~105^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9446ef569c288e683225fec8337a0b2b81e75cc5;p=pandora-kernel.git checkpatch: handle casts better fixing false categorisation of : as binary The following incantation is triggering categorisation of its colon (:) as a binary form, which it is not: return foo ? (s8)bar : baz; Handle casts differently from types in the categoriser, allowing us to better track (s8)bar as a value and not a declaration. Reported-by: Jean Delvare Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed