Skip to content

Commit f2786f4

Browse files
committed
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
2 parents bf95391 + 02900f4 commit f2786f4

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

arch/mips/alchemy/devboards/db1550.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ int __init db1550_board_setup(void)
6666
case BCSR_WHOAMI_PB1550_DDR:
6767
bcsr_init(PB1550_BCSR_PHYS_ADDR,
6868
PB1550_BCSR_PHYS_ADDR + PB1550_BCSR_HEXLED_OFS);
69+
break;
6970
case BCSR_WHOAMI_DB1550:
7071
break;
7172
default:

arch/mips/kernel/uprobes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ int arch_uprobe_exception_notify(struct notifier_block *self,
173173
case DIE_UPROBE_XOL:
174174
if (uprobe_post_sstep_notifier(regs))
175175
return NOTIFY_STOP;
176+
break;
176177
default:
177178
break;
178179
}

drivers/pcmcia/db1xxx_ss.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ static int db1x_pcmcia_get_status(struct pcmcia_socket *skt,
356356
case 0:
357357
case 2:
358358
status |= SS_3VCARD; /* 3V card */
359+
break;
359360
case 3:
360361
break; /* 5V card: set nothing */
361362
default:

0 commit comments

Comments
 (0)