Re: [PATCH v3 05/10] rust: io: add static `cast()` method for views

From
Alexandre Courbot <acourbot@nvidia.com>
Date
2026-09-06 15:27:30
Also in
dri-devel, lkml, nova-gpu, rust-for-linux
Reply to
Eliot Courtney, 2026-08-27
On Thu Aug 27, 2026 at 5:51 PM JST, Eliot Courtney wrote:
From: Gary Guo <gary@garyguo.net>

Add a compile-time checked variant of `try_cast()` using the minimum size
and alignment information.

Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260805-typed_register-v2-1-c3ca142220a0@garyguo.net (local)
[ecourtney: fix the doc example type and doc grammar per v2 review]
Signed-off-by: Eliot Courtney <redacted>
So I am basically ready to merge this series, but need an ack on this
one patch; I/O maintainers, does this look good to you?
Thread (15 messages) 15 messages, 3 authors, last reply 2026-09-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help