summaryrefslogtreecommitdiff
path: root/drivers/scsi/myrs.c
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.ibm.com>2021-03-10 19:22:12 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2021-03-15 22:44:36 -0400
commitfebb0cc847e7efd0b2b6cabf9f0e82b13dbadbec (patch)
tree140fb622b975ebd1615c945d4fb7e3d213859a1f /drivers/scsi/myrs.c
parent1112963427d6d186f8729cf36fefb70d5ca5a84a (diff)
scsi: ibmvfc: Free channel_setup_buf during device tear down
The buffer for negotiating channel setup is DMA allocated at device probe time. However, the remove path fails to free this allocation which will prevent the hypervisor from releasing the virtual device in the case of a hotplug remove. Fix this issue by freeing the buffer allocation in ibmvfc_free_mem(). Link: https://lore.kernel.org/r/20210311012212.428068-1-tyreld@linux.ibm.com Fixes: e95eef3fc0bc ("scsi: ibmvfc: Implement channel enquiry and setup commands") Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/myrs.c')
0 files changed, 0 insertions, 0 deletions