linux/drivers/scsi/qla2xxx
Zach Brown 77347ff755 [SCSI] qla2xxx: only free_irq() after request_irq() succeeds
If qla2x00_probe_one() fails before calling request_irq() but gets to
qla2x00_free_device() then it will mistakenly try to free an irq it didn't
request.  It's chosing to free based on ha->pdev->irq which is always set.

host->irq is set after request_irq() succeeds so let's use that to decide
to free or not.

This was observed and tested when a silly set of circumstances lead to
firmware loading failing on a 2100.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-04-19 20:52:13 -04:00
..
Kconfig [SCSI] qla2xxx: Consolidate ISP63xx handling. 2006-03-12 09:38:22 -06:00
Makefile [SCSI] qla2xxx: Consolidate ISP63xx handling. 2006-03-12 09:38:22 -06:00
ql2100.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2100_fw.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2200.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2200_fw.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2300.c [SCSI] qla2xxx: Consolidate ISP63xx handling. 2006-03-12 09:38:22 -06:00
ql2300_fw.c [SCSI] qla2xxx: Firmware updates. 2006-03-12 09:44:17 -06:00
ql2322.c [SCSI] qla2xxx: Consolidate ISP63xx handling. 2006-03-12 09:38:22 -06:00
ql2322_fw.c [SCSI] qla2xxx: Firmware updates. 2006-03-12 09:44:17 -06:00
ql2400.c [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06:00
ql2400_fw.c [SCSI] qla2xxx: Firmware updates. 2006-03-12 09:44:17 -06:00
qla_attr.c [SCSI] qla2xxx: Further restrict ZIO mode support. 2006-03-12 09:40:13 -06:00
qla_dbg.c [SCSI] qla2xxx: Update firmware-dump procedure for ISP24xx. 2006-01-14 10:55:30 -06:00
qla_dbg.h [SCSI] qla2xxx: Update firmware-dump procedure for ISP24xx. 2006-01-14 10:55:30 -06:00
qla_def.h [SCSI] qla2xxx: Further restrict ZIO mode support. 2006-03-12 09:40:13 -06:00
qla_devtbl.h [SCSI] qla2xxx: NVRAM id-list updates. 2006-03-12 09:38:42 -06:00
qla_fw.h [SCSI] qla2xxx: Add VPD sysfs attribute. 2006-03-12 09:39:55 -06:00
qla_gbl.h [SCSI] qla2xxx: Correct FCAL login retry logic for ISP24xx. 2006-03-12 09:40:37 -06:00
qla_gs.c [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06:00
qla_init.c [SCSI] qla2xxx: Correct FCAL login retry logic for ISP24xx. 2006-03-12 09:40:37 -06:00
qla_inline.h [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06:00
qla_iocb.c [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06:00
qla_isr.c [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06:00
qla_mbx.c [SCSI] qla2xxx: Correct FCAL login retry logic for ISP24xx. 2006-03-12 09:40:37 -06:00
qla_os.c [SCSI] qla2xxx: only free_irq() after request_irq() succeeds 2006-04-19 20:52:13 -04:00
qla_rscn.c [SCSI] qla2xxx: Add host-statistics FC transport attributes. 2006-02-04 16:11:35 -06:00
qla_settings.h [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
qla_sup.c [SCSI] qla2xxx: Convert IS_QLA*() defines to bit-operations. 2006-03-12 09:37:24 -06:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.01.04-k. 2006-01-14 10:55:40 -06:00