commit | 86f9d059c6bc548f6337f01117897a4c823cb4ee | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Tue Jan 06 14:41:24 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:16 2009 -0800 |
tree | f7861404c3e84268a890f1cc3517bebaaa5bc49b | |
parent | 1e85572697b348b1a126520349a29654f2ae6a12 [diff] |
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 <kay.sievers@vrfy.org> Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>