scsi: st: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 13 Sep 2021 22:08:48 +0000 (17:08 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 13 Oct 2021 19:47:33 +0000 (14:47 -0500)
commit6a7391ed6c770634b9ef179e51a3fdbb3e9c5730
tree0bcb3ca39ff8099f623d9a728deb959bcbb07e75
parente4e737bb5c170df6135a127739a9e6148ee3da82
scsi: st: Fix fall-through warning for Clang

Fix the following fallthrough warning:

drivers/scsi/st.c:3826:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
drivers/scsi/st.c:3826:2: note: insert 'break;' to avoid fall-through

This helps with the ongoing efforts to globally enable
-Wimplicit-fallthrough for Clang.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/linux-mm/202109070707.4pPukuYB-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/scsi/st.c