Re: [PATCH] rust: miscdevice: use `pin_init::zeroed()` for C type initialization

From: Miguel Ojeda

Date: Sat Nov 29 2025 - 11:33:42 EST


On Sat, Nov 29, 2025 at 7:46 AM Dirk Behme <dirk.behme@xxxxxxxxx> wrote:
>
> While getting rid of the `unsafe`what's about dropping the `SAFETY`
> comment as well? As done by Benno in [1]?

Yeah -- Atharv: please make sure to check your patches with `CLIPPY=1`
(which should detect that), `rustdoc`, `rusttest`... Some notes at:

https://rust-for-linux.com/contributing#submit-checklist-addendum

Thanks!

Cheers,
Miguel