Use more preferable function name which implies using a pseudo-random
number generator.
Signed-off-by: Akinobu Mita
Cc: linux-usb@vger.kernel.org
---
drivers/uwb/rsv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c
index 0b0d8bc
Use more preferable function name which implies using a pseudo-random
number generator.
Signed-off-by: Akinobu Mita
Cc: linux-usb@vger.kernel.org
---
No change from v1
drivers/uwb/rsv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/uwb/rsv.c b/drivers/uwb
Use more preferable function name which implies using a pseudo-random
number generator.
Signed-off-by: Akinobu Mita
Cc: linux-usb@vger.kernel.org
---
No change from v2
drivers/uwb/rsv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/uwb/rsv.c b/drivers/uwb
then fixes ufs and unusual usb storage drivers
by adjusting module reference after scsi host allocation.
Akinobu Mita (3):
scsi: add ability to adjust module reference for scsi host
scsi: ufs: adjust module reference for scsi host
usb: storage: adjust module reference for scsi host
drivers
reference after scsi host allocation.
Signed-off-by: Akinobu Mita
Cc: Matthew Dharm
Cc: Greg Kroah-Hartman
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: linux-usb@vger.kernel.org
Cc: usb-stor...@lists.one-eyed-alien.net
Cc: linux-s...@vger.kernel.org
---
drivers/usb/storag
though it instead of struct scsi_host_template. This allows
the actual LLDDs adjust module reference.
Signed-off-by: Akinobu Mita
Cc: Vinayak Holikatti
Cc: Dolev Raviv
Cc: Sujit Reddy Thumma
Cc: Subhash Jadavani
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Matthew Dharm
Cc:
2015-01-06 0:27 GMT+09:00 Alan Stern :
> On Mon, 5 Jan 2015, Akinobu Mita wrote:
>
>> While accessing a unusual usb storage (ums-alauda, ums-cypress, ...),
>> the module reference count is not incremented. Because these drivers
>> allocate scsi hosts with usb_stor_host
though it instead of struct scsi_host_template. This allows
the actual LLDDs adjust module reference.
Signed-off-by: Akinobu Mita
Cc: Vinayak Holikatti
Cc: Dolev Raviv
Cc: Sujit Reddy Thumma
Cc: Subhash Jadavani
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Matthew Dharm
Cc:
then fixes ufs and unusual usb storage drivers
by adjusting module reference after scsi host allocation.
* v2:
- Pass correct module reference to usb_stor_probe1() instead of touching
all ums-* drivers, suggested by Alan Stern
Akinobu Mita (3):
scsi: add ability to adjust module reference for
module reference to usb_stor_probe1() to
adjust it after scsi host allocation.
Signed-off-by: Akinobu Mita
Cc: Matthew Dharm
Cc: Greg Kroah-Hartman
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: linux-usb@vger.kernel.org
Cc: usb-stor...@lists.one-eyed-alien.net
C
2015-01-08 0:09 GMT+09:00 Alan Stern :
> On Wed, 7 Jan 2015, Christoph Hellwig wrote:
>
>> On Wed, Jan 07, 2015 at 11:02:59PM +0900, Akinobu Mita wrote:
>> > While accessing a scsi_device, the use count of the underlying LLDD module
>> > is incremented. The module
LLDDs and then fixes actual LLDDs by adjusting module
reference after scsi host allocation.
* v3:
- Add fix for ESP SCSI drivers
* v2:
- Pass correct module reference to usb_stor_probe1() instead of touching
all ums-* drivers, suggested by Alan Stern
Akinobu Mita (4):
scsi: add ability to adjust
though it instead of struct scsi_host_template. This allows
the actual LLDDs adjust module reference.
Signed-off-by: Akinobu Mita
Cc: Vinayak Holikatti
Cc: Dolev Raviv
Cc: Sujit Reddy Thumma
Cc: Subhash Jadavani
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Matthew Dharm
module reference to usb_stor_probe1() so
that .module field in struct Scsi_Host can be adjusted.
Signed-off-by: Akinobu Mita
Acked-by: Alan Stern
Cc: Matthew Dharm
Cc: Greg Kroah-Hartman
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: linux-usb@vger.kernel.org
Cc
2015-01-12 18:36 GMT+09:00 Christoph Hellwig :
> On Sun, Jan 11, 2015 at 10:50:02PM +0900, Akinobu Mita wrote:
>> While accessing a scsi_device, the use count of the underlying LLDD module
>> is incremented. The module reference is retrieved through .module field of
>> stru
: and
Reviewed-by: tags that have been received are deleted.
* v3:
- Add fix for ESP SCSI drivers
* v2:
- Pass correct module reference to usb_stor_probe1() instead of touching
all ums-* drivers, suggested by Alan Stern
Akinobu Mita (11):
ata: prepare to move module reference from
defined in esp_scsi module, so these
had module reference mismatch problem, but this change implicitly fixes
it. Because sub drivers directly call scsi_host_alloc() and THIS_MODULE
is used for the module reference instead of scsi_host_template->module.
Signed-off-by: Akinobu Mita
Cc: Vina
these drivers can be unloaded even if the scsi
device is being accessed.
This fixes it by converting usb_stor_probe1() into macro so that these
drivers can pass their correct module reference through
__scsi_host_alloc().
Signed-off-by: Akinobu Mita
Cc: Matthew Dharm
Cc: Greg Kroah-Hartman
Cc: Alan
2015-01-19 23:22 GMT+09:00 Tejun Heo :
> On Mon, Jan 19, 2015 at 12:05:58AM +0900, Akinobu Mita wrote:
>> While accessing a scsi_device, the use count of the underlying LLDD
>> module is incremented. The module reference is retrieved through
>> .module field of stru
2015-01-21 0:20 GMT+09:00 Alan Stern :
> On Tue, 20 Jan 2015, Akinobu Mita wrote:
>
>> 2015-01-19 23:22 GMT+09:00 Tejun Heo :
>> > On Mon, Jan 19, 2015 at 12:05:58AM +0900, Akinobu Mita wrote:
>> >> While accessing a scsi_device, the use count of the underlying
x for ESP SCSI drivers
* v2:
- Pass correct module reference to usb_stor_probe1() instead of touching
all ums-* drivers, suggested by Alan Stern
Akinobu Mita (4):
scsi: add ability to adjust module reference for scsi host
scsi: ufs: adjust module reference for scsi host
usb: storage: a
module reference to usb_stor_probe1() so
that .module field in struct Scsi_Host can be adjusted.
Signed-off-by: Akinobu Mita
Acked-by: Alan Stern
Cc: Matthew Dharm
Cc: Greg Kroah-Hartman
Cc: Alan Stern
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: linux-usb@vger.kernel.org
Cc
though it instead of struct scsi_host_template. This allows
the actual LLDDs adjust module reference.
Signed-off-by: Akinobu Mita
Reviewed-by: Hannes Reinecke
Cc: Vinayak Holikatti
Cc: Dolev Raviv
Cc: Sujit Reddy Thumma
Cc: Subhash Jadavani
Cc: Christoph Hellwig
Cc: "James E.J. Bott
23 matches
Mail list logo