Re: [PATCH v3 1/5] rust: types: add `Opaque::zeroed`

From: Alice Ryhl
Date: Thu Mar 20 2025 - 04:37:48 EST


On Wed, Mar 19, 2025 at 09:33:53PM +0100, Danilo Krummrich wrote:
> Analogous to `Opaque::uninit` add `Opaque::zeroed`, which sets the
> corresponding memory to zero. In contrast to `Opaque::uninit`, the
> corresponding value, depending on its type, may be initialized.
>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>