James Bottomley 081a5bcb39 [SCSI] mptspi: fix oops in mptspi_dv_renegotiate_work()
The problem here is that if the ioc faults too early in the bring up
sequence (as it usually does for an irq routing problem), ioc_reset gets
called before the scsi host is even allocated.  This causes an oops when
it later schedules a renegotiation.  Fix this by checking ioc->sh before
trying to renegotiate.

Cc: "Moore, Eric" <Eric.Moore@lsi.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-07-08 09:40:04 -05:00
..
2008-07-04 10:40:05 -07:00
2008-07-05 20:30:51 +02:00
2008-06-30 15:43:52 -04:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:08 -07:00
2008-07-04 10:40:08 -07:00