mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
ba76ef2460
This fix's an oops during driver load time. mptsas_probe calls mpt_attach(over in mptbase.c). Inside that call, we read some manufacturing config pages to setup some defaults. While reading the config pages, the firmware doesn't complete the reply in time, and we have a timeout. The timeout results in hardreset handler being called. The hardreset handler calls all the fusion upper layer driver reset callback handlers. The mptsas_ioc_reset function is the callback handler in mptsas.c. So where I'm getting to, is mptsas_ioc_reset is getting called before scsi_host_alloc is called, and the pointer ioc->sh is NULL as well as the hostdata. Signed-off-by: Judith Lebzelter <judith@osdl.org> Acked-by: "Moore, Eric" <Eric.Moore@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> |
||
---|---|---|
.. | ||
lsi | ||
Kconfig | ||
linux_compat.h | ||
Makefile | ||
mptbase.c | ||
mptbase.h | ||
mptctl.c | ||
mptctl.h | ||
mptfc.c | ||
mptlan.c | ||
mptlan.h | ||
mptsas.c | ||
mptscsih.c | ||
mptscsih.h | ||
mptspi.c |