[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <qwm7lwnardqkxym4nld5vyqk4i3i3va6zuv2uew3ypscealf3u@irzyhge4ygef>
Date: Mon, 5 Jan 2026 10:09:48 -0500
From: "Liam R. Howlett" <Liam.Howlett@...cle.com>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Boqun Feng <boqun.feng@...il.com>,
Andrew Ballance <andrewjballance@...il.com>,
Gary Guo <gary@...yguo.net>, Andrew Morton <akpm@...ux-foundation.org>,
maple-tree@...ts.infradead.org, linux-mm@...ck.org
Subject: Re: [PATCH v2 10/27] rust: maple_tree: add __rust_helper to helpers
* Alice Ryhl <aliceryhl@...gle.com> [260105 07:42]:
> This is needed to inline these helpers into Rust code.
>
> Reviewed-by: Boqun Feng <boqun.feng@...il.com>
> Acked-by: Andrew Ballance <andrewjballance@...il.com>
> Reviewed-by: Gary Guo <gary@...yguo.net>
> Signed-off-by: Alice Ryhl <aliceryhl@...gle.com>
Acked-by: Liam R. Howlett <Liam.Howlett@...cle.com>
> ---
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: "Liam R. Howlett" <Liam.Howlett@...cle.com>
> Cc: Andrew Ballance <andrewjballance@...il.com>
> Cc: maple-tree@...ts.infradead.org
> Cc: linux-mm@...ck.org
> ---
> rust/helpers/maple_tree.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/rust/helpers/maple_tree.c b/rust/helpers/maple_tree.c
> index 1dd9ac84a13feed53c0ed5eec6805517081d0673..5586486a76e0de60969af1510b4b0428392920e6 100644
> --- a/rust/helpers/maple_tree.c
> +++ b/rust/helpers/maple_tree.c
> @@ -2,7 +2,8 @@
>
> #include <linux/maple_tree.h>
>
> -void rust_helper_mt_init_flags(struct maple_tree *mt, unsigned int flags)
> +__rust_helper void rust_helper_mt_init_flags(struct maple_tree *mt,
> + unsigned int flags)
> {
> mt_init_flags(mt, flags);
> }
>
> --
> 2.52.0.351.gbe84eed79e-goog
>
Powered by blists - more mailing lists