Skip to content

Commit 01073ac

Browse files
committed
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fix from James Bottomley: "One minor fix in the error leg of the qla2xxx driver (it oopses the system if we get an error trying to start the internal kernel thread). The fix is minor because the problem isn't often encountered in the field (although it can be induced by inserting the module in a low memory environment)" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: scsi: qla2xxx: Fix oops in qla2x00_probe_one error path
2 parents 866ba84 + e2532b4 commit 01073ac

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
@@ -3212,6 +3212,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
32123212
ql_log(ql_log_fatal, base_vha, 0x00ed,
32133213
"Failed to start DPC thread.\n");
32143214
ret = PTR_ERR(ha->dpc_thread);
3215+
ha->dpc_thread = NULL;
32153216
goto probe_failed;
32163217
}
32173218
ql_dbg(ql_dbg_init, base_vha, 0x00ee,

0 commit comments

Comments
 (0)