Add fallthrough comments where they are missing.

Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 
b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
index 7f9535392a93..57475dbcae0f 100644
--- a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
+++ b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
@@ -1581,6 +1581,7 @@ static long ibmvscsis_adapter_info(struct scsi_info 
*vscsi,
        case H_PERMISSION:
                if (connection_broken(vscsi))
                        flag_bits = (RESPONSE_Q_DOWN | CLIENT_FAILED);
+               /* fallthrough */
        default:
                dev_err(&vscsi->dev, "adapter_info: h_copy_rdma to client 
failed, rc %ld\n",
                        rc);
@@ -2492,8 +2493,10 @@ static long ibmvscsis_ping_response(struct scsi_info 
*vscsi)
                break;
        case H_CLOSED:
                vscsi->flags |= CLIENT_FAILED;
+               /* fallthrough */
        case H_DROPPED:
                vscsi->flags |= RESPONSE_Q_DOWN;
+               /* fallthrough */
        case H_REMOTE_PARM:
                dev_err(&vscsi->dev, "ping_response: h_send_crq failed, rc 
%ld\n",
                        rc);
-- 
2.12.3

Reply via email to