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

From: Jkhall81

Date: Tue Feb 03 2026 - 10:27:58 EST


Nice, emails sent from gmail get automatically rejected.

So, Dirk. To satisfy your concerns the current 10ish line
code update is going to slowly, after many more emails
written in nano, mutate into a franken-regex-perl beast.
checkpatch.pl is already huge. I'm not a fan of this
approach.

We could just not do this. Right now we are trying to
get a warning if someone uses rust code that can cause a
panic. Software Engineers are smart people. What if they
just don't use rust code that causes panics inside core
files. Problem solved.