summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-11-01 17:32:22 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-01 17:32:22 -0700
commitf2786f43c9832fae5fd3874bd156172c1eb05f3f (patch)
treee934d3f79fdbd400dcbd66305fb253129726ad04 /drivers
parentbf953917bed6308daf2b5de49cc1bac58995a33c (diff)
parent02900f428d3c7acd89b77784bec33ddec7b750a4 (diff)
downloadlinux-f2786f43c9832fae5fd3874bd156172c1eb05f3f.tar.bz2
Merge tag 'fallthrough-fixes-clang-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull fallthrough fixes from Gustavo A. R. Silva: "Fix some fall-through warnings when building with Clang and -Wimplicit-fallthrough" * tag 'fallthrough-fixes-clang-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: pcmcia: db1xxx_ss: Fix fall-through warning for Clang MIPS: Fix fall-through warnings for Clang scsi: st: Fix fall-through warning for Clang
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pcmcia/db1xxx_ss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pcmcia/db1xxx_ss.c b/drivers/pcmcia/db1xxx_ss.c
index a6fbc709913e..87a33ecc2cf1 100644
--- a/drivers/pcmcia/db1xxx_ss.c
+++ b/drivers/pcmcia/db1xxx_ss.c
@@ -356,6 +356,7 @@ static int db1x_pcmcia_get_status(struct pcmcia_socket *skt,
case 0:
case 2:
status |= SS_3VCARD; /* 3V card */
+ break;
case 3:
break; /* 5V card: set nothing */
default: