From: Andy Whitcroft Date: Tue, 6 Jan 2009 22:41:24 +0000 (-0800) Subject: checkpatch: allow parentheses on return for comparisons X-Git-Tag: v2.6.29-rc1~343 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86f9d059c6bc548f6337f01117897a4c823cb4ee;p=pandora-kernel.git checkpatch: allow parentheses on return for comparisons It seems to be a common idiom to include braces on conditionals in all contexts including return. Allow this exception to the return is not a function checks. Reported by Kay Sievers. Cc: Kay Sievers Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed