diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2025-09-30 16:31:10 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2025-09-30 16:31:10 +0200 |
commit | d325efac5938efa3c2a25df72a1bd1af16cd0ed8 (patch) | |
tree | 6bb0db4f21bd6359bb32f3beeb63231477b09ef3 /rust/helpers/bug.c | |
parent | bba920e6f803138587248079de47ad3464a396f6 (diff) | |
parent | d1dd75c6500c74b91c5286fd3277710371d3e3ca (diff) |
Merge branch 'for-6.18/core' into for-linus
- allow HID-BPF to rebind a driver to hid-multitouch (Benjamin
Tissoires)
- Change hid_driver to use a const char* for .name (Rahul Rameshbabu)
Diffstat (limited to 'rust/helpers/bug.c')
-rw-r--r-- | rust/helpers/bug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/helpers/bug.c b/rust/helpers/bug.c index e2d13babc737..a62c96f507d1 100644 --- a/rust/helpers/bug.c +++ b/rust/helpers/bug.c @@ -6,3 +6,8 @@ __noreturn void rust_helper_BUG(void) { BUG(); } + +bool rust_helper_WARN_ON(bool cond) +{ + return WARN_ON(cond); +} |