Re: [PATCH 2/2] rust: drm: fix non-const `read8` in unit test

From: Alexandre Courbot

Date: Thu Jul 16 2026 - 17:14:44 EST


On Thu Jul 16, 2026 at 7:25 AM PDT, Gary Guo wrote:
> From: Gary Guo <gary@xxxxxxxxxxx>
>
> 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 <gary@xxxxxxxxxxx>

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>