Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: maple_tree: add __rust_helper to helpers

This is needed to inline these helpers into Rust code.

Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Acked-by: Andrew Ballance <andrewjballance@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Link: https://patch.msgid.link/20260105-define-rust-helper-v2-10-51da5f454a67@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

authored by

Alice Ryhl and committed by
Miguel Ojeda
fa6cbf1f 227d1955

+2 -1
+2 -1
rust/helpers/maple_tree.c
··· 2 2 3 3 #include <linux/maple_tree.h> 4 4 5 - void rust_helper_mt_init_flags(struct maple_tree *mt, unsigned int flags) 5 + __rust_helper void rust_helper_mt_init_flags(struct maple_tree *mt, 6 + unsigned int flags) 6 7 { 7 8 mt_init_flags(mt, flags); 8 9 }