[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DF1DP93V7IQ2.2BA2EV61WUA6C@nvidia.com>
Date: Thu, 18 Dec 2025 22:32:19 +0900
From: "Alexandre Courbot" <acourbot@...dia.com>
To: "Benno Lossin" <lossin@...nel.org>, "Alexandre Courbot"
<acourbot@...dia.com>, "Miguel Ojeda" <ojeda@...nel.org>, "Boqun Feng"
<boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>, "Andreas
Hindborg" <a.hindborg@...nel.org>, "Alice Ryhl" <aliceryhl@...gle.com>,
"Trevor Gross" <tmgross@...ch.edu>, "Danilo Krummrich" <dakr@...nel.org>
Cc: "John Hubbard" <jhubbard@...dia.com>, "Alistair Popple"
<apopple@...dia.com>, "Joel Fernandes" <joelagnelf@...dia.com>, "Timur
Tabi" <ttabi@...dia.com>, "Edwin Peer" <epeer@...dia.com>, "Eliot Courtney"
<ecourtney@...dia.com>, <rust-for-linux@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 1/2] rust: transmute: implement FromBytes and AsBytes
for inhabited ZSTs
On Mon Dec 15, 2025 at 4:45 PM JST, Benno Lossin wrote:
> On Mon Dec 15, 2025 at 6:49 AM CET, Alexandre Courbot wrote:
>> This is useful when using types that may or may not be empty in generic
>> code relying on these traits. It is also safe because technically a
>> no-op.
>>
>> Reviewed-by: Alistair Popple <apopple@...dia.com>
>> Reviewed-by: Gary Guo <gary@...yguo.net>
>> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
>
> Reviewed-by: Benno Lossin <lossin@...nel.org>
Miguel, are you ok if we take this one through the drm-rust tree? Nova
is likely to make use of it this cycle.
Powered by blists - more mailing lists