Re: [PATCH 1/2] rust: dma: make use of start_ptr() and start_ptr_mut()
From: Danilo Krummrich
Date: Tue Nov 11 2025 - 03:52:21 EST
On Tue Nov 4, 2025 at 6:06 AM AEDT, Danilo Krummrich wrote:
> Using start_ptr() and start_ptr_mut() has the advantage that we inherit
> the requirements the a mutable or immutable reference from those
> methods.
>
> Hence, use them instead of self.cpu_addr.
>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
Applied to driver-core-testing, thanks!
[ Keep using self.cpu_addr in item_from_index(). - Danilo ]