summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-29 12:52:20 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-30 10:22:39 -0500
commite8bac9e0647dd04c83fd0bfe7cdfe2f6dfb100d0 (patch)
tree3de02f02a05e6cb58ce5cb5521206685935ea403 /block
parent671a99c8eb2f1dde08ac5538d8cd912047c61ddf (diff)
downloadop-kernel-dev-e8bac9e0647dd04c83fd0bfe7cdfe2f6dfb100d0.zip
op-kernel-dev-e8bac9e0647dd04c83fd0bfe7cdfe2f6dfb100d0.tar.gz
[SCSI] scsi_transport_spi: fix oops in revalidate
The class_device->device conversion is causing an oops in revalidate because it's assuming that the device_for_each_child iterator will only return struct scsi_device children. The conversion made all former class_devices children of the device as well, so this assumption is broken. Fix it. Cc: Stable Tree <stable@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud