James Bottomley e8bac9e064 [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>
2008-07-30 10:22:39 -05:00
..
2008-07-24 10:47:41 -07:00
2008-07-28 15:12:37 -07:00
2008-07-17 20:20:59 +08:00
2008-07-22 17:30:57 -07:00
2008-07-25 10:53:49 -07:00
2008-07-25 10:53:30 -07:00
2008-07-26 12:00:11 -07:00
2008-07-28 12:21:25 +02:00
2008-07-28 21:14:43 +02:00
2008-07-27 13:57:36 +02:00
2008-07-26 20:30:56 -07:00
2008-07-26 12:00:11 -07:00
2008-07-26 12:00:11 -07:00
2008-07-27 11:35:47 +03:00
2008-07-28 18:10:29 +09:00
2008-07-28 16:30:21 -07:00
2008-07-21 21:54:55 -07:00
2008-07-24 10:47:24 -07:00
2008-07-25 10:53:30 -07:00