Benno Lossin
2025-Jul-14 10:51 UTC
[PATCH] gpu: nova-core: vbios: change PmuLookupTableEntry to relax alignment
On Mon Jul 14, 2025 at 12:43 PM CEST, Rhys Lloyd wrote:> + > + /// Construct a u32 from `self.data`. > + fn get_data(&self) -> u32 {Getters in Rust usually don't start with `get_`. Using `data(&self)` here also looks better IMO. --- Cheers, Benno> + u32::from_le_bytes(self.data) > + } > }