summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-07 18:24:06 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-08 16:40:04 +0200
commit081a5bcb39b455405d58f79bb3c9398a9d4477ed (patch)
tree4110a2264eba3a8887cdf8a525376f61f2f92bde /drivers/scsi/ipr.c
parent[SCSI] erase invalid data returned by device (diff)
downloadlinux-081a5bcb39b455405d58f79bb3c9398a9d4477ed.tar.xz
linux-081a5bcb39b455405d58f79bb3c9398a9d4477ed.zip
[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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions