Re: [PATCH v2 2/3] rust: dma: rename dma_handle to dma_address

"Danilo Krummrich" <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Wed Aug 5, 2026 at 7:01 AM CEST, Alexandre Courbot wrote:
>  pub struct Coherent<T: KnownSize + ?Sized> {
>      dev: ARef<device::Device>,
> -    dma_handle: DmaAddress,
> +    dma_addr: DmaAddress,
>      cpu_addr: NonNull<T>,
>      dma_attrs: Attrs,
>  }

From the perspective of the DMA API the value actually serves as a handle for
the C API, so we could have also renamed the accessor only. But I think it is
fine either way.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.