Skip to content

Commit c71a2f6

Browse files
committed
Merge tag 'fallthrough-fixes-clang-5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull fallthrough fixes from Gustavo Silva: "Fix some fall-through warnings when building with Clang and '-Wimplicit-fallthrough' on ARM" * tag 'fallthrough-fixes-clang-5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: scsi: fas216: Fix fall-through warning for Clang scsi: acornscsi: Fix fall-through warning for clang ARM: riscpc: Fix fall-through warning for Clang
2 parents cade08a + cb16362 commit c71a2f6

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

arch/arm/mach-rpc/riscpc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ static int __init parse_tag_acorn(const struct tag *tag)
4949
fallthrough; /* ??? */
5050
case 256:
5151
vram_size += PAGE_SIZE * 256;
52+
break;
5253
default:
5354
break;
5455
}

drivers/scsi/arm/acornscsi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,6 +2642,7 @@ int acornscsi_abort(struct scsi_cmnd *SCpnt)
26422642
//#endif
26432643
clear_bit(SCpnt->device->id * 8 +
26442644
(u8)(SCpnt->device->lun & 0x7), host->busyluns);
2645+
fallthrough;
26452646

26462647
/*
26472648
* We found the command, and cleared it out. Either

drivers/scsi/arm/fas216.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,6 +1375,7 @@ static void fas216_busservice_intr(FAS216_Info *info, unsigned int stat, unsigne
13751375
case IS_COMPLETE:
13761376
break;
13771377
}
1378+
break;
13781379

13791380
default:
13801381
break;

0 commit comments

Comments
 (0)