summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_nportdisc.c
diff options
context:
space:
mode:
authorBart Van Assche2019-03-28 19:06:18 +0100
committerMartin K. Petersen2019-04-04 05:11:35 +0200
commitcd05c155d720f9a499c0796aecb58397dfa8618d (patch)
treed7174bf1eae4db5d5e33b9bed3c740aae8e3a759 /drivers/scsi/lpfc/lpfc_nportdisc.c
parentscsi: lpfc: Fix indentation and balance braces (diff)
downloadkernel-qcow2-linux-cd05c155d720f9a499c0796aecb58397dfa8618d.tar.gz
kernel-qcow2-linux-cd05c155d720f9a499c0796aecb58397dfa8618d.tar.xz
kernel-qcow2-linux-cd05c155d720f9a499c0796aecb58397dfa8618d.zip
scsi: lpfc: Annotate switch/case fall-through
This patch avoids that the compiler warns about missing fall-through annotation when building with W=1. Cc: James Smart <james.smart@broadcom.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Acked-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_nportdisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c
index e8dcd3d181ff..e27ba2ad422f 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: