[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251120085518.1463498-1-ojeda@kernel.org>
Date: Thu, 20 Nov 2025 09:55:18 +0100
From: Miguel Ojeda <ojeda@...nel.org>
To: akpm@...ux-foundation.org
Cc: aliceryhl@...gle.com,
edumazet@...gle.com,
linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org,
ojeda@...nel.org,
sfr@...b.auug.org.au,
wedsonaf@...il.com
Subject: Re: linux-next: build failure after merge of the mm-nonmm-unstable tree
On Wed, 19 Nov 2025 15:48:24 -0800 Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> Thanks, I'll disable them for now.
>
> Alice, can you please help us with a fix? Simple patch follows:
Something like this should work (I would suggest adding each helper into
the right commit that performs each move to the header):
diff --git a/rust/helpers/rbtree.c b/rust/helpers/rbtree.c
index 6d404b84a9b5..2a0eabbb4160 100644
--- a/rust/helpers/rbtree.c
+++ b/rust/helpers/rbtree.c
@@ -7,3 +7,13 @@ void rust_helper_rb_link_node(struct rb_node *node, struct rb_node *parent,
{
rb_link_node(node, parent, rb_link);
}
+
+struct rb_node *rust_helper_rb_first(const struct rb_root *root)
+{
+ return rb_first(root);
+}
+
+struct rb_node *rust_helper_rb_last(const struct rb_root *root)
+{
+ return rb_last(root);
+}
Cheers,
Miguel
Powered by blists - more mailing lists