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>
This commit is contained in:

committed by
Michael Ellerman

parent
f91203e71c
commit
8ad940217c
@@ -4043,6 +4043,7 @@ static int do_spu_cmd(void)
|
||||
subcmd = inchar();
|
||||
if (isxdigit(subcmd) || subcmd == '\n')
|
||||
termch = subcmd;
|
||||
/* fall through */
|
||||
case 'f':
|
||||
scanhex(&num);
|
||||
if (num >= XMON_NUM_SPUS || !spu_info[num].spu) {
|
||||
|
Reference in New Issue
Block a user