Re: [PATCH] rust: fix typo in bindings
From: wang lian
Date: Tue Jan 13 2026 - 20:25:13 EST
>
> 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@xxxxxxxx>
> Closes: https://lore.kernel.org/all/20260113185142.254821-1-clm@xxxxxxxx/
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
LGTM.
Reviewed-by: wang lian <lianux.mm@xxxxxxxxx>
--
Best Regards,
wang lian