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 # For main.c changes
Signed-off-by: John Garry
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 # For main.c changes
Signed-off-by: John Garry
---
2 matches
Mail list logo