diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-26 15:46:47 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-29 12:51:16 -0500 |
commit | cb163627e6d32dbaca4d89b2292788cee895b06d (patch) | |
tree | 2fd1317bc09f902031ed167a551ce66e20436812 /drivers/scsi/arm | |
parent | eb4f520ca691f109f5fb1d16fc9cc26447a941e1 (diff) | |
download | linux-stable-cb163627e6d32dbaca4d89b2292788cee895b06d.tar.gz linux-stable-cb163627e6d32dbaca4d89b2292788cee895b06d.tar.bz2 linux-stable-cb163627e6d32dbaca4d89b2292788cee895b06d.zip |
scsi: fas216: Fix fall-through warning for Clang
Fix the following fallthrough warning (on ARM):
drivers/scsi/arm/fas216.c:1379:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
default:
^
drivers/scsi/arm/fas216.c:1379:2: note: insert 'break;' to avoid fall-through
default:
^
break;
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/202107260355.bF00i5bi-lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'drivers/scsi/arm')
-rw-r--r-- | drivers/scsi/arm/fas216.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/arm/fas216.c b/drivers/scsi/arm/fas216.c index 6baa9b36367d..9c4458a99025 100644 --- a/drivers/scsi/arm/fas216.c +++ b/drivers/scsi/arm/fas216.c @@ -1375,6 +1375,7 @@ static void fas216_busservice_intr(FAS216_Info *info, unsigned int stat, unsigne case IS_COMPLETE: break; } + break; default: break; |