Re: [PATCH 41/41] scsi: xen-scsifront: mark expected switch fall-through

From: Martin K. Petersen
Date: Wed Nov 28 2018 - 21:54:02 EST



Gustavo A.,

> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that, in this particular case, I replaced
> "Missed the backend's Closing state -- fallthrough" with
> "fall through - Missed the backend's Closing state", which
> contains the "fall through" annotation at the beginnig of
> the code comment, which is what GCC is expecting to find.

Applied to 4.21/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering