]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: allow parentheses on return handle array values
authorAndy Whitcroft <apw@canonical.com>
Thu, 15 Jan 2009 21:51:06 +0000 (13:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Jan 2009 00:39:38 +0000 (16:39 -0800)
commitdba31c008c93ca8cbcb9c544fc3af25a520391be
treed37e5333ccb5ea5467f6d98d2efd4c1daf681364
parentddcc0ae14d7d26b38cce4097eeed15029eff9931
checkpatch: allow parentheses on return handle array values

When we allow return to have surrounding parentheses when containing
comparison operators we are not correctly handling the case where the
values contain array sufffixes.  Squash them.

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>
scripts/checkpatch.pl