commit | 86f9d059c6bc548f6337f01117897a4c823cb4ee | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <[email protected]> | Tue Jan 06 14:41:24 2009 -0800 |
committer | Linus Torvalds <[email protected]> | 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 <[email protected]> Signed-off-by: Andy Whitcroft <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>