Skip to content
Commit cc667f6d authored by Liviu Dudau's avatar Liviu Dudau Committed by Christoph Hellwig
Browse files

nvme-pci: use the same attributes when freeing host_mem_desc_bufs.



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: default avatarLiviu Dudau <liviu@dudau.co.uk>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent c61e678f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment