Re: [PATCH] rust: cpumask: rename CpumaskVar::as[_mut]_ref to from_raw[_mut]

From: Viresh Kumar
Date: Thu Aug 14 2025 - 00:13:36 EST


On 13-08-25, 07:54, Alice Ryhl wrote:
> The prefix as_* shouldn't be used for constructors. For further
> motivation, see commit 2f5606afa4c2 ("device: rust: rename
> Device::as_ref() to Device::from_raw()").
>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> ---
> rust/kernel/cpufreq.rs | 2 +-
> rust/kernel/cpumask.rs | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)

Applied. Thanks.

--
viresh