]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: com20020-isa: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 29 Jul 2019 14:25:03 +0000 (09:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 17:23:59 +0000 (10:23 -0700)
commit6a5c9d311ca8d5e81f01f3611cee2c2e8313f404
tree55a09515359ed16abbed95015e8bd78fd42c78e0
parent7ac0d732f0f8625c0082890a64ff5318459b5901
arcnet: com20020-isa: Mark expected switch fall-throughs

Mark switch cases where we are expecting to fall through.

This patch fixes the following warnings:

drivers/net/arcnet/com20020-isa.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]:  => 205:13, 203:10, 209:7, 201:11,
207:8

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/com20020-isa.c