> On 19 Jul 2024, at 14:28, Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > On Fri, Jul 19, 2024 at 6:24 PM Daniel Almeida > <daniel.almeida@xxxxxxxxxxxxx> wrote: >> >> A new clippy lint would make sense here, since we already have clippy support >> in the kernel anyways. > > There is one already, which we want to enable. > > Here is a quick patch (untested!) of how it could look like, in case > one wants to fill the TODOs, or we can just merge it as-is and clean > it up later to avoid adding new ones. > > Cheers, > Miguel > <0001-rust-enable-clippy-undocumented_unsafe_blocks.patch> IMHO, merging after testing makes sense, otherwise new ones will creep up as you said. — Daniel