summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorDarren Trap <darren.trap@cavium.com>2017-08-30 10:16:48 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-30 22:14:15 -0400
commit1a28faa01074f1cacc029bcb611690f086b11de2 (patch)
tree1003ce7a4493c2b0a0c1d3aab366a0b5da4d1f80 /drivers/scsi
parentd32041ec9524fe75a4b2418c05ff55e3250139c1 (diff)
downloadop-kernel-dev-1a28faa01074f1cacc029bcb611690f086b11de2.zip
op-kernel-dev-1a28faa01074f1cacc029bcb611690f086b11de2.tar.gz
scsi: qla2xxx: Clear fc4f_nvme flag
Signed-off-by: Darren Trap <darren.trap@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 30b3aca..73a6c3a 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -4937,6 +4937,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha)
new_fcport->fc4_type = swl[swl_idx].fc4_type;
new_fcport->nvme_flag = 0;
+ new_fcport->fc4f_nvme = 0;
if (vha->flags.nvme_enabled &&
swl[swl_idx].fc4f_nvme) {
new_fcport->fc4f_nvme =
OpenPOWER on IntegriCloud