Re: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-08-13 Thread Vitaly Kuznetsov
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

2015-08-13 Thread Vitaly Kuznetsov
: 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

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread Long Li
> 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

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread KY Srinivasan
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_

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread KY Srinivasan
] 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

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread Long Li
...@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

[PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-01 Thread Vitaly Kuznetsov
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

[PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-01 Thread Vitaly Kuznetsov
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