From: Alice Ryhl <aliceryhl@google.com>
To: Yilin Chen <1479826151@qq.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
Miguel Ojeda <ojeda@kernel.org>,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 RESEND] rust: cpumask: rename methods of Cpumask for clarity and consistency
Date: Mon, 12 Jan 2026 09:24:25 +0000 [thread overview]
Message-ID: <aWS9yf1iwWW-O0y6@google.com> (raw)
In-Reply-To: <tencent_38DB4FAEAA8E319F0F1BFF098A922623AA09@qq.com>
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@qq.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Thanks!
next prev parent reply other threads:[~2026-01-12 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-12 8:00 [PATCH v3 RESEND] rust: cpumask: rename methods of Cpumask for clarity and consistency Yilin Chen
2026-01-12 9:24 ` Alice Ryhl [this message]
2026-01-12 16:20 ` Gary Guo
2026-01-13 1:39 ` Viresh Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aWS9yf1iwWW-O0y6@google.com \
--to=aliceryhl@google.com \
--cc=1479826151@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.