From: Andy Whitcroft Date: Tue, 26 Oct 2010 21:23:12 +0000 (-0700) Subject: checkpatch: ensure we do not collapse bracketed sections into constants X-Git-Tag: v2.6.37-rc1~105^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2d2c1b5825503d30fb6f2dc328dbe4a47d9794;p=pandora-kernel.git checkpatch: ensure we do not collapse bracketed sections into constants When determining if a return () sequence is a function style bracketing we simplify the expression one bracket at a time replacing each with a constant. However this can trigger a false merge with expressions as below: return (foo)0; Prevent this false merging. Reported-by: Hitoshi Mitake Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed