scsi: aic94xx: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:27:24 +0000 (12:27 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Dec 2020 17:59:46 +0000 (12:59 -0500)
commit4886dd0a04b47a3da81b2d9c46c32c1035410ea2
treec295bb2af673101b64cc6325fc7273ac8cc8c236
parent995ae10f8000699b6ac8186489235bc9f0b8de34
scsi: aic94xx: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding a couple of break and fallthrough 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/9b58459045d303bbea0160f2e349f5799402a2bf.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic94xx/aic94xx_scb.c
drivers/scsi/aic94xx/aic94xx_task.c