Re: [PATCH v3] gpu: nova-core: vbios: change PmuLookupTableEntry to use size_of
From: Alexandre Courbot
Date: Fri Jul 25 2025 - 09:30:23 EST
On Fri Jul 18, 2025 at 4:36 PM JST, Rhys Lloyd wrote:
> Annotate the PmuLookupTableEntry with an `#[repr(C, packed)]` attribute.
> Removes another magic number by making the struct the same size as
> the data it needs to read, allowing the use of
> `size_of::<PmuLookupTableEntry>()`
>
> Signed-off-by: Rhys Lloyd <krakow20@xxxxxxxxx>
Looking good - I'll also push this one after a short grace period. Thanks!