[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <be85b0fb-4bf0-4cb7-bba0-702c1682778c@gmail.com>
Date: Thu, 4 Dec 2025 15:07:01 -0600
From: Andrew Ballance <andrewjballance@...il.com>
To: Alice Ryhl <aliceryhl@...gle.com>, rust-for-linux@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Andrew Morton <akpm@...ux-foundation.org>,
"Liam R. Howlett" <Liam.Howlett@...cle.com>, maple-tree@...ts.infradead.org,
linux-mm@...ck.org
Subject: Re: [PATCH 23/46] rust: maple_tree: add __rust_helper to helpers
On 12/2/25 1:37 PM, Alice Ryhl wrote:
> This is needed to inline these helpers into Rust code.
>
> Signed-off-by: Alice Ryhl <aliceryhl@...gle.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);
> }
>
Acked-by: Andrew Ballance <andrewjballance@...il.com>
Powered by blists - more mailing lists