diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-26 13:33:58 -0600 |
---|---|---|
committer | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-08 18:38:45 -0500 |
commit | e305c8dfa5ece43f2047ec18a2f460e56ee1b832 (patch) | |
tree | 1e521a8c7c72edab6be39b6960ddaeba9d8cf296 /drivers/scsi | |
parent | scsi: lpfc: lpfc_hbadisc: Mark expected switch fall-throughs (diff) | |
download | linux-dev-e305c8dfa5ece43f2047ec18a2f460e56ee1b832.tar.xz linux-dev-e305c8dfa5ece43f2047ec18a2f460e56ee1b832.zip |
scsi: lpfc: lpfc_nportdisc: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_nportdisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c index 6172682a24ba..11d284c5486e 100644 --- a/drivers/scsi/lpfc/lpfc_nportdisc.c +++ b/drivers/scsi/lpfc/lpfc_nportdisc.c @@ -360,6 +360,7 @@ lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, case NLP_STE_NPR_NODE: if (!(ndlp->nlp_flag & NLP_NPR_ADISC)) break; + /* fall through */ case NLP_STE_REG_LOGIN_ISSUE: case NLP_STE_PRLI_ISSUE: case NLP_STE_UNMAPPED_NODE: |