inux-ker...@vger.kernel.org
>> Subject: RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of
>> open
>> coding
>>
>>
>>
>> > -Original Message-
>> > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com]
>> >
> Cc: Long Li; KY Srinivasan; Haiyang Zhang; James E.J. Bottomley;
> > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org
> > Subject: [PATCH] scsi: storvsc: use shost_for_each_device() instead of
> > open coding
> >
> > Comment in struct Scsi_Host says that d
rnel.org
> Subject: [PATCH] scsi: 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_
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
---
drivers/scsi/storvsc_drv.c | 9 +
1 file changed, 1 insertion(+),