Re: [PATCH v4 0/6] replace `allow(...)` lints with `expect(...)`
From: Miguel Ojeda
Date: Tue Jul 01 2025 - 04:44:28 EST
On Tue, Jul 1, 2025 at 7:36 AM Onur Özkan <work@xxxxxxxxxxxxx> wrote:
>
> Onur Özkan (6):
> rust: switch to `#[expect(...)]` in core modules
> rust: switch to `#[expect(...)]` in init and kunit
> drivers: gpu: switch to `#[expect(...)]` in nova-core/regs.rs
> rust: switch to `#[expect(...)]` in devres, driver and ioctl
> rust: remove `#[allow(clippy::unnecessary_cast)]`
> rust: remove `#[allow(clippy::non_send_fields_in_send_ty)]`
Thanks for splitting this, it is very much appreciated.
I think you decided on a split based on similarity (?). In the kernel,
different maintainers/trees take care of different areas/files (the
`MAINTAINERS` file describes this mapping). For instance, in one of
them, KUnit and init is mixed, which are maintained by different
people.
That is why the split I suggested was one that allows maintainers to
pick them independently. With this one, maintainers still have to
coordinate, which isn't a big deal, since the changes are small and
straightforward, but the purpose of the split was to avoid that.
Cheers,
Miguel