[PATCH v6 0/4] scsi: ufs ums-* esp_scsi: fix module reference counting

2015-05-04 Thread Akinobu Mita
While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template. This mapping between scsi_device and underlying LLDD module works well except ufs, unusual usb storage drivers, and sub

Re: [PATCH v6 0/4] scsi: ufs ums-* esp_scsi: fix module reference counting

2015-05-04 Thread Alan Stern
On Mon, 4 May 2015, James Bottomley wrote: However, it does also strike me that these three drivers have problems because they're using the wrong initialisation pattern: the template is supposed to be in the bus connector for compound drivers not in the core. Why is it supposed to be done