commit | cc667f6d5de023ee131e96bb88e5cddca23272bd | [log] [tgz] |
---|---|---|
author | Liviu Dudau <liviu@dudau.co.uk> | Sat Dec 29 17:23:43 2018 +0000 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jan 09 13:47:02 2019 -0500 |
tree | 3c892ecb4c2e0ab69bf0937a3a84c065f55d25cb | |
parent | c61e678f30da733a1b7fdd5983d0770de2e6009c [diff] |
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 <liviu@dudau.co.uk> Signed-off-by: Christoph Hellwig <hch@lst.de>