Re: [PATCH] rust: kernel: use strict provenance APIs
From: Miguel Ojeda
Date: Mon May 25 2026 - 09:48:59 EST
On Fri, May 22, 2026 at 7:19 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> Suggested-by: Benno Lossin <benno.lossin@xxxxxxxxx>
> Link: https://lore.kernel.org/all/D8EIXDMRXMJP.36TFCGWZBRS3Y@xxxxxxxxx/
The linked suggestion seems to be about enabling the lints, not using
the provenance APIs (which we have been discussing for a long time).
Do we want to enable the lints after this? Or what am I missing?
In any case, some of these are not equivalent to the `as` casts, so
they are not a mechanical change. Could we have, at least for those,
the reason why it is OK to perform the change? (perhaps as separate
commits?)
Thanks for cleaning this up!
Cheers,
Miguel