diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2026-01-05 12:42:18 +0000 |
|---|---|---|
| committer | Boqun Feng <boqun.feng@gmail.com> | 2026-01-09 19:01:41 +0800 |
| commit | 1c7a6f48f7eeb3014584d2fc55fc67f0cbaeef69 (patch) | |
| tree | aae64130ff1e141b36c67f8d97c4ce6e73101339 /rust | |
| parent | 71a4d13fa1cf2b7a4f45a6ee41548c27783f7940 (diff) | |
rust: completion: Add __rust_helper to helpers
This is needed to inline these helpers into Rust code.
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://patch.msgid.link/20260105-define-rust-helper-v2-5-51da5f454a67@google.com
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/helpers/completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/helpers/completion.c b/rust/helpers/completion.c index b2443262a2ae..0126767cc3be 100644 --- a/rust/helpers/completion.c +++ b/rust/helpers/completion.c @@ -2,7 +2,7 @@ #include <linux/completion.h> -void rust_helper_init_completion(struct completion *x) +__rust_helper void rust_helper_init_completion(struct completion *x) { init_completion(x); } |
