checkpatch: case/default checks should only check changed lines
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:25 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:36 +0000 (11:21 -0700)
commita1080bf80862c571b5f0a20cb601e24dd90e2026
tree0aae05e30c0107a6286bce04692c7d17b4f1f632
parentdea79cd3dfb4a50e4c3d0dcb7294f6d633b455d1
checkpatch: case/default checks should only check changed lines

We should only be checking changes lines for the trailing statement check
on case/default statements.

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