Commit e0b9c207 authored by Committed by Greg Kroah-Hartman
nvme-pci: use the same attributes when freeing host_mem_desc_bufs.
[ Upstream commit cc667f6d ] When using HMB the PCIe host driver allocates host_mem_desc_bufs using dma_alloc_attrs() but frees them using dma_free_coherent(). Use the correct dma_free_attrs() function to free the buffers. Signed-off-by: Liviu Dudau <firstname.lastname@example.org> Signed-off-by: Christoph Hellwig <email@example.com> Signed-off-by: Sasha Levin <firstname.lastname@example.org>
Showing with 6 additions and 4 deletions