diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-27 23:30:55 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-28 21:47:30 -0500 |
commit | 76df1da36c3d576452ce31eba90d089c85d70dd2 (patch) | |
tree | 0ad9e14a1085e7392b461ebe1fee746670db910b | |
parent | 5dfdb0893596a837a95fa4013c122ba32aae9946 (diff) |
scsi: libfc: fc_rport: 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 <gustavo@embeddedor.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 638f42a5200e..9192a1d9dec6 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
@@ -1722,6 +1722,7 @@ static void fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) | |||
1722 | kref_put(&rdata->kref, fc_rport_destroy); | 1722 | kref_put(&rdata->kref, fc_rport_destroy); |
1723 | goto busy; | 1723 | goto busy; |
1724 | } | 1724 | } |
1725 | /* fall through */ | ||
1725 | default: | 1726 | default: |
1726 | FC_RPORT_DBG(rdata, | 1727 | FC_RPORT_DBG(rdata, |
1727 | "Reject ELS 0x%02x while in state %s\n", | 1728 | "Reject ELS 0x%02x while in state %s\n", |