]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libsas: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 13 Jul 2021 18:18:14 +0000 (13:18 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 13 Jul 2021 18:58:56 +0000 (13:58 -0500)
commitca17d742cef085e4ddd4eb26e23cdbf0fc3b5ad2
tree73df10f66fe81729b3a5fa74f034e701b0b9cd40
parentceba6f9751790cc8b1e2dd35fb403ec9097c8865
scsi: libsas: Fix fall-through warning for Clang

Fix the following fallthrough warning (arm64-randconfig with Clang):

drivers/scsi/libsas/sas_discover.c:467:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/scsi/libsas/sas_discover.c