Re: [PATCH 3/8] rust: dma: add zeroed constructor to `Coherent`
From: Alexandre Courbot
Date: Fri Mar 20 2026 - 10:35:58 EST
On Wed Mar 4, 2026 at 1:22 AM JST, Danilo Krummrich wrote:
<snip>
> @@ -572,6 +598,41 @@ fn alloc_slice_with_attrs(
> dma_attrs,
> })
> }
> +
> + /// Allocates a zeroed region of type `T` of coherent memory.
> + ///
> + /// Unlike `Coherent::<[T; N]>::zeroed_with_attrs`, `Coherent::<T>::zeored_slices` support
s/zeored_slices/zeroed_slices
Otherwise,
Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>