From: James Bottomley Date: Tue, 29 Jul 2008 17:52:20 +0000 (-0500) Subject: [SCSI] scsi_transport_spi: fix oops in revalidate X-Git-Tag: v2.6.27-rc2~48^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8bac9e0647dd04c83fd0bfe7cdfe2f6dfb100d0;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed