diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-05-01 09:35:06 +0300 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2026-05-08 22:28:19 +0200 |
| commit | 9d625aa2ebd445868955719e0abcf695b43f9318 (patch) | |
| tree | ff3c7028a74a45f5a2dd443dc73ef39795604745 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | da6d997ac556479c112554ab5d95cbd04683eb11 (diff) | |
ntb: Use consistent DMA attributes when freeing DMA mappings
The counterpart of dma_alloc_attrs() is dma_free_attrs(), which must
receive the same DMA attributes used during allocation. The code
previously used dma_free_coherent(), which does not accept or apply any
DMA attributes.
Fixes: 061a785a114f ("ntb: Force physically contiguous allocation of rx ring buffers")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260501-dma-attrs-debug-v2-2-8dbac75cd501@nvidia.com
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
