linux/drivers/scsi/hisi_sas
John Garry 76aae5f60b scsi: hisi_sas: replace kfree with scsi_host_put
Instances of kfree(shost) should be replaced with scsi_host_put().

In addition, a missing scsi_host_put() is added for error path in
hisi_sas_shost_alloc_pci() and v3 driver removal.

Signed-off-by: Pan Bian <bianpan2016@163.com> # For main.c changes
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-08-24 22:28:49 -04:00
..
hisi_sas_main.c scsi: hisi_sas: replace kfree with scsi_host_put 2017-08-24 22:28:49 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: optimise DMA slot memory 2017-07-01 17:06:56 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: add reset handler for v3 hw 2017-08-24 22:28:47 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: replace kfree with scsi_host_put 2017-08-24 22:28:49 -04:00
hisi_sas.h scsi: hisi_sas: add reset handler for v3 hw 2017-08-24 22:28:47 -04:00
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00