[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DFNXJJCQF5H3.LP4C926C59BZ@garyguo.net>
Date: Wed, 14 Jan 2026 01:43:53 +0000
From: "Gary Guo" <gary@...yguo.net>
To: "Lorenzo Stoakes" <lorenzo.stoakes@...cle.com>, "Miguel Ojeda"
<ojeda@...nel.org>
Cc: "Boqun Feng" <boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>, "Benno Lossin"
<lossin@...nel.org>, "Andreas Hindborg" <a.hindborg@...nel.org>, "Alice
Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>, "Danilo
Krummrich" <dakr@...nel.org>, <rust-for-linux@...r.kernel.org>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>, "Chris Mason"
<clm@...a.com>
Subject: Re: [PATCH] rust: fix typo in bindings
On Tue Jan 13, 2026 at 7:29 PM GMT, Lorenzo Stoakes wrote:
> Commit 2b6a3f061f11 ("mm: declare VMA flags by bit") added a number of
> overrides to the rust bindings helper as the change performed in the commit
> caused the rust binder to not be able to automatically determine values of
> VMA flags.
>
> However a typo was introduced leaving VM_MAYSHARE to be incorrectly
> interpreted as VM_MAYEXEC in rust code. This patch fixes the typo.
>
> Fixes: 2b6a3f061f11 ("mm: declare VMA flags by bit")
> Reported-by: Chris Mason <clm@...a.com>
> Closes: https://lore.kernel.org/all/20260113185142.254821-1-clm@meta.com/
> Cc: <stable@...r.kernel.org>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
Reviewed-by: Gary Guo <gary@...yguo.net>
> ---
> rust/bindings/bindings_helper.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Powered by blists - more mailing lists