Re: [PATCH v3 RESEND] rust: cpumask: rename methods of Cpumask for clarity and consistency
From: Alice Ryhl
Date: Mon Jan 12 2026 - 04:24:27 EST
On Mon, Jan 12, 2026 at 04:00:47PM +0800, Yilin Chen wrote:
> Rename `as_ref` and `as_mut_ref` to `from_raw` and `from_raw_mut` to
> align with the established naming convention for constructing types
> from raw pointers in the kernel's Rust codebase.
>
> Signed-off-by: Yilin Chen <1479826151@xxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Thanks!