Re: [PATCH] sh: kernel: disassemble: Mark expected switch fall-throughs

2019-08-09 Thread Gustavo A. R. Silva
On 8/10/19 12:08 AM, Joe Perches wrote: > On Sat, 2019-08-10 at 00:01 -0500, Gustavo A. R. Silva wrote: >> Mark switch cases where we are expecting to fall through. >> >> Fix the following warnings (Building: defconfig sh): > [] >> diff --git a/arch/sh/kernel/disassemble.c b/arch/sh/kernel/disas

Re: [PATCH] sh: kernel: disassemble: Mark expected switch fall-throughs

2019-08-09 Thread Joe Perches
On Sat, 2019-08-10 at 00:01 -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > Fix the following warnings (Building: defconfig sh): [] > diff --git a/arch/sh/kernel/disassemble.c b/arch/sh/kernel/disassemble.c [] > @@ -477,6 +477,7 @@ static void prin

[PATCH] sh: kernel: disassemble: Mark expected switch fall-throughs

2019-08-09 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. Fix the following warnings (Building: defconfig sh): arch/sh/kernel/disassemble.c:478:8: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/sh/kernel/disassemble.c:487:8: warning: this statement may fall through [-Wimp