Skip to content

Commit 76df1da

Browse files
GustavoARSilvamartinkpetersen
authored andcommitted
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>
1 parent 5dfdb08 commit 76df1da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/libfc/fc_rport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,7 @@ static void fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp)
17221722
kref_put(&rdata->kref, fc_rport_destroy);
17231723
goto busy;
17241724
}
1725+
/* fall through */
17251726
default:
17261727
FC_RPORT_DBG(rdata,
17271728
"Reject ELS 0x%02x while in state %s\n",

0 commit comments

Comments
 (0)