summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-24 21:55:22 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-25 18:37:23 +0200
commitd3a263a8168f78874254ea9da9595cfb0f3e96d7 (patch)
treebfbe8c87ff990a9530cc3b3be7b4994705986801 /COPYING
parent[SCSI] fnic: use DMA_BIT_MASK(nn) instead of deprecated DMA_nnBIT_MASK (diff)
downloadlinux-d3a263a8168f78874254ea9da9595cfb0f3e96d7.tar.xz
linux-d3a263a8168f78874254ea9da9595cfb0f3e96d7.zip
[SCSI] zalon: fix oops on attach failure
I recently discovered on my zalon that if the attachment fails because of a bus misconfiguration (I scrapped my HVD array, so the card is now unterminated) then the system oopses. The reason is that if ncr_attach() returns NULL (signalling failure) that NULL is passed by the goto failed straight into ncr_detach() which oopses. The fix is just to return -ENODEV in this case. Cc: Stable Tree <stable@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions