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

Alice Ryhl
2025-04-15T11:59:29Z

On Mon, Apr 14, 2025 at 03:18:04PM +0200, 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@linuxfoundation.org>
> Signed-off-by: Danilo Krummrich <dakr@kernel.org>

Reviewed-by: Alice Ryhl <aliceryhl@google.com>