Re: [PATCH 2/2] rust: drm: fix non-const `read8` in unit test
"Alexandre Courbot" <[email protected]>
| Newsgroups | org.kernel.vger.rust-for-linux,dev.linux.lists.driver-core,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu Jul 16, 2026 at 7:25 AM PDT, Gary Guo wrote: > From: Gary Guo <[email protected]> > > With CONFIG_CC_OPTIMIZE_FOR_SIZE, the address validity check in non-const > `read8` invocaction is not optimized away, leading to build failure. > > Signed-off-by: Gary Guo <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]>