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

2019-08-13 Thread Yoshinori Sato
On Sat, 10 Aug 2019 14:24:42 +0900, Gustavo A. R. Silva wrote: > > Remove logically dead code and 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 > throug

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

2019-08-10 Thread Guenter Roeck
On Sat, Aug 10, 2019 at 12:24:42AM -0500, Gustavo A. R. Silva wrote: > Remove logically dead code and 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 > thr

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

2019-08-10 Thread Geert Uytterhoeven
On Sat, Aug 10, 2019 at 7:26 AM Gustavo A. R. Silva wrote: > Remove logically dead code and 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 [-Wimp

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

2019-08-09 Thread Gustavo A. R. Silva
Remove logically dead code and 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 st