kernel-ark/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
Makefile
ql2100_fw.c
ql2100.c
ql2200_fw.c
ql2200.c
ql2300_fw.c
ql2300.c
ql2322_fw.c
ql2322.c
ql2400_fw.c
ql2400.c
qla_attr.c
qla_dbg.c
qla_dbg.h
qla_def.h
qla_devtbl.h
qla_fw.h
qla_gbl.h
qla_gs.c
qla_init.c
qla_inline.h
qla_iocb.c
qla_isr.c
qla_mbx.c
qla_os.c
qla_rscn.c
qla_settings.h
qla_sup.c
qla_version.h