kernel-ark/drivers/scsi/qla2xxx
Andrew Morton 444d1d9bb5 [PATCH] qlogic lockup fix
If qla2x00_probe_one()'s call to qla2x00_iospace_config() fails, we call
qla2x00_free_device() to clean up.  But because ha->dpc_pid hasn't been set
yet, qla2x00_free_device() tries to stop a kernel thread which hasn't started
yet.  It does wait_for_completion() against an uninitialised completion struct
and the kernel hangs up.

Fix it by initialising ha->dpc_pid a bit earlier.

Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-25 13:51:48 -07:00
..
Kconfig
Makefile
ql2100_fw.c
ql2100.c
ql2200_fw.c
ql2200.c
ql2300_fw.c
ql2300.c
ql2322_fw.c
ql2322.c
ql6312_fw.c
ql6312.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