diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-05-28 22:08:28 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-02 06:56:15 +0200 |
commit | 84a84cc6aff4243c9f28c879b94d0dd55a310b54 (patch) | |
tree | 0afa0538775d082b50ee8710726b45039ef31b32 /drivers/scsi/mpt3sas/mpt3sas_base.c | |
parent | scsi: qla2xxx: Log PCI address in qla_nvme_unregister_remote_port() (diff) | |
download | linux-84a84cc6aff4243c9f28c879b94d0dd55a310b54.tar.xz linux-84a84cc6aff4243c9f28c879b94d0dd55a310b54.zip |
scsi: mpt3sas: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding break statements instead of just letting
the code fall through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/20210528200828.GA39349@embeddedor
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_base.c')
-rw-r--r-- | drivers/scsi/mpt3sas/mpt3sas_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index bc4ed3ed4b9a..4df8448cfbf2 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -4437,6 +4437,7 @@ _base_display_OEMs_branding(struct MPT3SAS_ADAPTER *ioc) ioc->pdev->subsystem_device); break; } + break; default: break; } |