Re: [PATCH v5 0/6] rust: reduce pointer casts, enable related lints

From: Tamir Duberstein
Date: Mon Mar 24 2025 - 17:37:39 EST


On Mon, Mar 24, 2025 at 4:55 PM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> On Mon, Mar 24, 2025 at 4:16 PM Benno Lossin <benno.lossin@xxxxxxxxx> wrote:
> >
>
> > * some pointer casts in rust/kernel/list/impl_list_item_mod.rs:{253,254}
> > not sure if they can be converted though (maybe they are unsizing the
> > pointer?)
>
> I have a local series that gets rid of these by doing similar things
> to https://lore.kernel.org/all/20250307-no-offset-v1-0-0c728f63b69c@xxxxxxxxx/.
> I can send it later this week but it probably can't land until Alice
> is back from vacation; she was the author of this code.

https://lore.kernel.org/all/20250324-list-no-offset-v1-0-afd2b7fc442a@xxxxxxxxx/