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: property: add __rust_helper to helpers

This is needed to inline these helpers into Rust code.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://patch.msgid.link/20251202-define-rust-helper-v1-31-a2e13cbc17a6@google.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>

authored by

Alice Ryhl and committed by
Danilo Krummrich
74ca60bd d17772fc

+1 -1
+1 -1
rust/helpers/property.c
··· 2 2 3 3 #include <linux/property.h> 4 4 5 - void rust_helper_fwnode_handle_put(struct fwnode_handle *fwnode) 5 + __rust_helper void rust_helper_fwnode_handle_put(struct fwnode_handle *fwnode) 6 6 { 7 7 fwnode_handle_put(fwnode); 8 8 }