On Tue,  7 Jul 2026 13:51:04 +0530
Harish-CS <[email protected]> wrote:

> Rust panic paths are discouraged in kernel code because panics currently
> lead to BUG-like behavior. Add a checkpatch warning for newly added Rust
> uses of unwrap(), unwrap_err(), expect() and expect_err() so contributors
> notice them during patch review.

How about panic!()?

Reply via email to