Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Liviu Dudau <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
- Loading branch information