Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Sat, 10 Aug 2019 08:58:53 +0200 | Subject | Re: [PATCH v2] sh: kernel: disassemble: Mark expected switch fall-throughs |
| |
On Sat, Aug 10, 2019 at 7:26 AM Gustavo A. R. Silva <gustavo@embeddedor.com> 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 [-Wimplicit-fallthrough=] > arch/sh/kernel/disassemble.c:487:8: warning: this statement may fall > through [-Wimplicit-fallthrough=] > arch/sh/kernel/disassemble.c:496:8: warning: this statement may fall > through [-Wimplicit-fallthrough=] > > Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |