projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6f8a22
)
scsi: lpfc: Set sli4_param's cmf option to zero when CMF is turned off
author
Justin Tee
<justin.tee@broadcom.com>
Mon, 17 Oct 2022 16:43:19 +0000
(09:43 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Sat, 22 Oct 2022 03:19:15 +0000
(
03:19
+0000)
Add missed clearing of phba->sli4_hba.pc_sli4_params.cmf when CMF is turned
off.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link:
https://lore.kernel.org/r/20221017164323.14536-1-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_sli.c
b/drivers/scsi/lpfc/lpfc_sli.c
index 99d06dc7ddf6b5e8fa993663a17e191a88546722..768294b9bc0b0115583703d858b64ef2c474afb0 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_sli.c
+++ b/
drivers/scsi/lpfc/lpfc_sli.c
@@
-8354,6
+8354,7
@@
no_cmf:
phba->cgn_i = NULL;
/* Ensure CGN Mode is off */
phba->cmf_active_mode = LPFC_CFG_OFF;
+ sli4_params->cmf = 0;
return 0;
}
}