Skip to content

Commit 92e8424

Browse files
committed
scsi: qla2xxx: Fix oops in qla2x00_probe_one error path
(bsc#1043726,FATE#324770). suse-commit: 8c98184b88c203f8f41a071bfd3fc021176b582d
1 parent 981694e commit 92e8424

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/qla2xxx/qla_os.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3229,6 +3229,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
32293229
ql_log(ql_log_fatal, base_vha, 0x00ed,
32303230
"Failed to start DPC thread.\n");
32313231
ret = PTR_ERR(ha->dpc_thread);
3232+
ha->dpc_thread = NULL;
32323233
goto probe_failed;
32333234
}
32343235
ql_dbg(ql_dbg_init, base_vha, 0x00ee,

0 commit comments

Comments
 (0)