]> Git Repo - linux.git/commit
checkpatch: allow parentheses on return for comparisons
authorAndy Whitcroft <[email protected]>
Tue, 6 Jan 2009 22:41:24 +0000 (14:41 -0800)
committerLinus Torvalds <[email protected]>
Tue, 6 Jan 2009 23:59:16 +0000 (15:59 -0800)
commit86f9d059c6bc548f6337f01117897a4c823cb4ee
treef7861404c3e84268a890f1cc3517bebaaa5bc49b
parent1e85572697b348b1a126520349a29654f2ae6a12
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]>
scripts/checkpatch.pl
This page took 0.052262 seconds and 4 git commands to generate.