/* FIXME: we're relying on an awful lot of device internals * here.  We really need a function to get the first available * child */ struct device *dev = container_of(starget->dev.children.next, struct device, node); struct scsi_device *sdev = to_scsi_device(dev); spi_dv_device(sdev); 
device_for_each_child(&starget->dev, NULL, child_iter); 
store_spi_revalidate(struct class_device *cdev, const char *buf, size_t count){	struct scsi_target *starget = transport_class_to_starget(cdev);	/* FIXME: we're relying on an awful lot of device internals	 * here.  We really need a function to get the first available	 * child */	struct device *dev = container_of(starget->dev.children.next, struct device, node);	struct scsi_device *sdev = to_scsi_device(dev);	spi_dv_device(sdev);	return count;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9a881f166f473373589ce6f3fdc47b44a1450e2d/scsi_transport_spi.c/buggy/drivers/scsi/scsi_transport_spi.c