Re: [PATCH] rust: auxiliary: use `pin_init::zeroed()` for device ID
From: Danilo Krummrich
Date: Sun Jan 25 2026 - 17:45:42 EST
On Sat Nov 29, 2025 at 1:47 PM CET, Atharv Dubey 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>
Applied to driver-core-testing, thanks!