mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
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>
This commit is contained in:
parent
5dfdb08935
commit
76df1da36c
1 changed files with 1 additions and 0 deletions
|
@ -1722,6 +1722,7 @@ static void fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp)
|
||||||
kref_put(&rdata->kref, fc_rport_destroy);
|
kref_put(&rdata->kref, fc_rport_destroy);
|
||||||
goto busy;
|
goto busy;
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
FC_RPORT_DBG(rdata,
|
FC_RPORT_DBG(rdata,
|
||||||
"Reject ELS 0x%02x while in state %s\n",
|
"Reject ELS 0x%02x while in state %s\n",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue