summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2017-08-10 19:09:43 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 05:28:49 +0300
commit76aae5f60bb0029cd1a5b9fa8ed6705498db52ee (patch)
treeddc0cbda23166cf5b728ac4a00576e167a3092e2 /include/linux
parent5aec704f0db7b12663b13b3c73dc1432f9dddcf0 (diff)
downloadlinux-76aae5f60bb0029cd1a5b9fa8ed6705498db52ee.tar.xz
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions