Re: [PATCH] rust: auxiliary: use `pin_init::zeroed()` for device ID

From: Miguel Ojeda

Date: Sun Jan 25 2026 - 14:32:04 EST


On Sat, Nov 29, 2025 at 1:47 PM Atharv Dubey <atharvd440@xxxxxxxxx> wrote:
>
> Replace the previous `unsafe { core::mem::zeroed() }` initialization
> for `bindings::auxillary_device_id` with `pin_init::zeroed()`. This removes
> the explicit unsafe block and uses the safer pinned zero-initialization
> helper.
>
> Signed-off-by: Atharv Dubey <atharvd440@xxxxxxxxx>

These were also sent by Benno, and in the issue he mentions
"re-sending", which usually means just adding your Signed-off-by below
his:

https://lore.kernel.org/all/20250814093046.2071971-1-lossin@xxxxxxxxxx/

But he also mentioned the Suggested-by tag etc., so it is probably OK
to keep authorship and add:

Suggested-by: Benno Lossin <lossin@xxxxxxxxxx>
Link: https://github.com/Rust-for-Linux/linux/issues/1189

Cheers,
Miguel