Re: [PATCH] scsi: st: Add missing break in switch statement in st_ioctl()

From: Martin K. Petersen
Date: Mon Sep 13 2021 - 23:45:12 EST


On Tue, 17 Aug 2021 16:55:31 -0700, Nathan Chancellor wrote:

> Clang + -Wimplicit-fallthrough warns:
>
> drivers/scsi/st.c:3831:2: warning: unannotated fall-through between
> switch labels [-Wimplicit-fallthrough]
> default:
> ^
> drivers/scsi/st.c:3831:2: note: insert 'break;' to avoid fall-through
> default:
> ^
> break;
> 1 warning generated.
>
> [...]

Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: st: Add missing break in switch statement in st_ioctl()
https://git.kernel.org/mkp/scsi/c/6a2ea0d34af1

--
Martin K. Petersen Oracle Linux Engineering