From: Gustavo A. R. Silva Date: Wed, 28 Nov 2018 04:32:27 +0000 (-0600) Subject: scsi: megaraid: megaraid_sas_base: Mark expected switch fall-through X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d07f7d0009c8e2281a79fced49aa6ea60dc9153;p=openwrt%2Fstaging%2Fblogic.git scsi: megaraid: megaraid_sas_base: Mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Acked-by: Sumit Saxena Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index b7d3fc6fb118..9db7aebc3564 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -3281,6 +3281,7 @@ megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, megasas_complete_int_cmd(instance, cmd); break; } + /* fall through */ case MFI_CMD_LD_READ: case MFI_CMD_LD_WRITE: