mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
The `dma_handle` naming is inherited from the C API, but what this really describes is the device DMA address; everything named `dma_handle` is actually a `dma_addr_t`. This naming introduces some confusion on the Rust API side, as handles are supposed to be opaque tokens, yet we were doing address computation on values returned by `dma_handle`. Rename `dma_handle` to `dma_address` while nova-core is still its only user. Suggested-by: John Hubbard <[email protected]> Suggested-by: Danilo Krummrich <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Alexandre Courbot <[email protected]> Reviewed-by: Robin Murphy <[email protected]> Link: https://patch.msgid.link/[email protected] [ Rebase and fix up build failures due to newly introduced dma_handle() calls. - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>