projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb744b
)
scsi: lpfc: lpfc_els: Mark expected switch fall-throughs
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Mon, 26 Nov 2018 19:23:34 +0000
(13:23 -0600)
committer
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Mon, 8 Apr 2019 23:37:47 +0000
(18:37 -0500)
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: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/scsi/lpfc/lpfc_els.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_els.c
b/drivers/scsi/lpfc/lpfc_els.c
index fc077cb87900305126741ce8330b42f474f0cacd..7b0755e3527dec5c4cfea81d1007c7c1893fd8d5 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_els.c
+++ b/
drivers/scsi/lpfc/lpfc_els.c
@@
-8775,6
+8775,7
@@
lpfc_cmpl_reg_new_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
lpfc_nlp_put(ndlp);
return;
}
+ /* fall through */
default:
/* Try to recover from this error */