Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo A. R. Silva and committed by
Martin K. Petersen
76df1da3 5dfdb089

+1
+1
drivers/scsi/libfc/fc_rport.c
··· 1722 1722 kref_put(&rdata->kref, fc_rport_destroy); 1723 1723 goto busy; 1724 1724 } 1725 + /* fall through */ 1725 1726 default: 1726 1727 FC_RPORT_DBG(rdata, 1727 1728 "Reject ELS 0x%02x while in state %s\n",