]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fas216: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 26 Jul 2021 20:46:47 +0000 (15:46 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Thu, 29 Jul 2021 17:51:16 +0000 (12:51 -0500)
commit90b49c05aad17098cc90f64b7a1cbbd7f53769c6
tree2fd1317bc09f902031ed167a551ce66e20436812
parent017e9ae80808e709d95b0452e62e357230ae9e71
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>
drivers/scsi/arm/fas216.c