Re: [PATCH] rust: of: use safe zero initialization for struct of_device_id
From: Miguel Ojeda
Date: Sun Oct 11 2026 - 12:24:49 EST
On Sun, Oct 11, 2026 at 3:24 PM Thorsten Blum <blum@xxxxxxxxxx> wrote:
>
> Since bindings::of_device_id implements Zeroable, use pin_init::zeroed()
> instead of core::mem::zeroed().
>
> Signed-off-by: Thorsten Blum <blum@xxxxxxxxxx>
This is:
https://lore.kernel.org/rust-for-linux/20260828122444.475-1-nils.lehnen@xxxxxxxxx/
Cc'ing Nils.
Cheers,
Miguel