inux-kernel@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]
>> >
: RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of
open
coding
-Original Message-
From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com]
Sent: Wednesday, July 1, 2015 2:31 AM
To: linux-s...@vger.kernel.org
Cc: Long Li; KY Srinivasan; Haiyang Zhang; James E.J
> Cc: Long Li; KY Srinivasan; Haiyang Zhang; James E.J. Bottomley;
> > de...@linuxdriverproject.org; linux-kernel@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_each_
] 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_each_device().
Signed-off-by: Vitaly Kuznetsov vkuzn
...@linuxdriverproject.org; linux-kernel@vger.kernel.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
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
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 vkuzn...@redhat.com
---
drivers/scsi/storvsc_drv.c | 9 +
1 file
8 matches
Mail list logo