aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-07-01 11:31:27 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-08-12 16:03:13 -0700
commit8d6a9f5676f0e734967ac3739f5c6a28a0b047d9 (patch)
tree6629070fdf46544c0a33aaa53cad18fc3c9baf90 /include/scsi/scsi_device.h
parentstorvsc: be more picky about scmnd->sc_data_direction (diff)
downloadlinux-dev-8d6a9f5676f0e734967ac3739f5c6a28a0b047d9.tar.xz
linux-dev-8d6a9f5676f0e734967ac3739f5c6a28a0b047d9.zip
storvsc: use shost_for_each_device() instead of open coding
Comment in struct Scsi_Host says that drivers are not supposed to access __devices directly. storvsc_host_scan() doesn't happen in irq context so we can just use shost_for_each_device(). Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Reviewed-by: Long Li <longli@microsoft.com> Acked-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
0 files changed, 0 insertions, 0 deletions