[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DFQJEAPGK791.17H92ET2Z9B8Z@nvidia.com>
Date: Sat, 17 Jan 2026 12:16:46 +0900
From: "Alexandre Courbot" <acourbot@...dia.com>
To: "Alice Ryhl" <aliceryhl@...gle.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>, "Trevor
Gross" <tmgross@...ch.edu>, "Danilo Krummrich" <dakr@...nel.org>,
<rust-for-linux@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] rust: ptr: replace unneeded use of `build_assert`
On Wed Dec 17, 2025 at 10:22 PM JST, Alice Ryhl wrote:
> On Tue, Dec 16, 2025 at 9:25 AM Alexandre Courbot <acourbot@...dia.com> wrote:
>>
>> Since `ALIGN` is a const parameter, this assertion can be done in const
>> context using the `assert!` macro.
>>
>> Suggested-by: Alice Ryhl <aliceryhl@...gle.com>
>> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
>
> Reviewed-by: Alice Ryhl <aliceryhl@...gle.com>
Miguel, are you comfortable taking this through the Rust tree for this
cycle?
Powered by blists - more mailing lists