Alexandre Courbot
2025-Jul-25 13:30 UTC
[PATCH v3] gpu: nova-core: vbios: change PmuLookupTableEntry to use size_of
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 at gmail.com>Looking good - I'll also push this one after a short grace period. Thanks!