]> git.baikalelectronics.ru Git - kernel.git/commit
pcmcia: db1xxx_ss: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 5 Aug 2019 19:47:35 +0000 (14:47 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Sat, 10 Aug 2019 00:53:04 +0000 (19:53 -0500)
commit8d59ec599fdc0d53a27a90a1d0ce4c3d8050f426
tree789cb8cac5cb77872b1a732ee8d1b115f7009a05
parent52b4663a4ba83084e3947173d35be60a31b06cc9
pcmcia: db1xxx_ss: Mark expected switch fall-throughs

Mark switch cases where we are expecting to fall through.

This patch fixes the following warnings (Building: db1xxx_defconfig mips):

drivers/pcmcia/db1xxx_ss.c:257:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
drivers/pcmcia/db1xxx_ss.c:269:3: warning: this statement may fall through [-Wimplicit-fallthrough=]

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/pcmcia/db1xxx_ss.c