Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf9598bd authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva
Browse files

scsi: lpfc: lpfc_els: Mark expected switch fall-throughs



In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 114978 ("Missing break in switch")
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
parent dbb744ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -8775,6 +8775,7 @@ lpfc_cmpl_reg_new_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
				lpfc_nlp_put(ndlp);
				lpfc_nlp_put(ndlp);
				return;
				return;
			}
			}
			/* fall through */


		default:
		default:
			/* Try to recover from this error */
			/* Try to recover from this error */