From: Alice Ryhl Date: Mon, 5 Jan 2026 12:42:18 +0000 (+0000) Subject: rust: completion: Add __rust_helper to helpers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c7a6f48f7eeb3014584d2fc55fc67f0cbaeef69;p=thirdparty%2Fkernel%2Flinux.git rust: completion: Add __rust_helper to helpers This is needed to inline these helpers into Rust code. Reviewed-by: Boqun Feng Reviewed-by: Gary Guo Signed-off-by: Alice Ryhl Signed-off-by: Boqun Feng Link: https://patch.msgid.link/20260105-define-rust-helper-v2-5-51da5f454a67@google.com --- diff --git a/rust/helpers/completion.c b/rust/helpers/completion.c index b2443262a2aed..0126767cc3beb 100644 --- a/rust/helpers/completion.c +++ b/rust/helpers/completion.c @@ -2,7 +2,7 @@ #include -void rust_helper_init_completion(struct completion *x) +__rust_helper void rust_helper_init_completion(struct completion *x) { init_completion(x); }