]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: allow for comments either side of a brace on case
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:36 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:37 +0000 (11:21 -0700)
commitaa0f15b37345d8915df20d6121c7756006daa4b2
tree418ea019c04e979862e47dd423ccb92ea5f04e3b
parente77ad0ba2ec918911e15ddd337500090d39a6813
checkpatch: allow for comments either side of a brace on case

When specifying case we may have comments and/or braces at the end without
actually having a 'statement'.  Allow for these to occur in any order.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl