]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: annotate implicit fall throughs
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 28 Nov 2018 22:28:30 +0000 (09:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Dec 2018 08:45:01 +0000 (19:45 +1100)
commit2123878c59e89e23cc46739f996c55e3e2410665
tree3cc1fb16cb0bbb5f0daad99d78cd057d43ee6499
parent88c36d762669fe41f8342cbd2c81ac782b698e2a
powerpc: annotate implicit fall throughs

There is a plan to build the kernel with -Wimplicit-fallthrough and these
places in the code produced warnings, but because we build arch/powerpc
with -Werror, they became errors.  Fix them up.

This patch produces no change in behaviour, but should be reviewed in
case these are actually bugs not intentional fallthoughs.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/nvram_64.c
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/xmon/xmon.c