Re: [PATCH v4] scripts: checkpatch: warn on Rust panicking methods

From: Miguel Ojeda

Date: Wed Feb 04 2026 - 13:14:58 EST


On Tue, Feb 3, 2026 at 4:49 PM Onur Özkan <work@xxxxxxxxxxxxx> wrote:
>
> Me neither. I wonder why we are doing this instead of using the
> unwrap_used and expect_used linting rules from clippy. This would
> catch the problem much earlier than checkpath since many of us build
> the kernel with CLIPPY=1 flag.

Please see my reply to Dirk and the context I link there, but
regarding the existing Clippy lints: we want to have the `// TAG`
style comments, rather than attributes, so we are waiting for the
Clippy lints on this.

Cheers,
Miguel