summaryrefslogtreecommitdiff
path: root/include/asm-generic/percpu.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 21:40:51 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-24 09:14:10 -0700
commite505e03b6737b07e04efa9ed1f59eefc2e8532bc (patch)
tree50c67ae859009b112561ecb42ce639abbe9462a8 /include/asm-generic/percpu.h
parent4195cdf72c4060e4a9527c49ac5267234b0624de (diff)
downloadlwn-e505e03b6737b07e04efa9ed1f59eefc2e8532bc.tar.gz
lwn-e505e03b6737b07e04efa9ed1f59eefc2e8532bc.zip
SCSI: mptspi: fix oops in mptspi_dv_renegotiate_work()
commit 081a5bcb39b455405d58f79bb3c9398a9d4477ed upstream 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: Eric Moore <Eric.Moore@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-generic/percpu.h')
0 files changed, 0 insertions, 0 deletions