On Wed, Mar 25, 2026 at 1:39 AM Danilo Krummrich <[email protected]> wrote:
>
> Generalize write_dma() from &Coherent<[u8]> to &Coherent<T> where
> T: KnownSize + AsBytes + ?Sized. The function body only uses as_ptr()
> and size(), which work for any such T, so there is no reason to
> restrict it to byte slices.
>
> Signed-off-by: Danilo Krummrich <[email protected]>

Acked-by: Miguel Ojeda <[email protected]>

Cheers,
Miguel

Reply via email to