From: Akinobu Mita <akinobu.mita@xxxxxxxxx> Date: Sun, 11 Jan 2015 22:50:06 +0900 > While accessing a scsi device on host adapter supported by sub driver for > the ESP chip (mac_esp, am53c974, sun_esp, jazz_esp, sun3x_esp), the module > reference count is not incremented. Because these drivers allocate scsi > hosts with scsi_esp_template defined in ESP SCSI driver core module. So > these drivers always can be unloaded. > > This fixes it by passing correct module reference to newly introduced > scsi_esp_host_alloc() so that .module field in struct Scsi_Host can be > adjusted. > > Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Looks fine to me, thanks for fixing this: Acked-by: David S. Miller <davem@xxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html