Make Mcfg repr(C, packed) rather than repr(packed)

repr(packed) officially still allows reordering the fields.
This commit is contained in:
bjorn3
2025-02-22 14:05:33 +01:00
parent 7012dffdf1
commit 6828b744fd
+1 -1
View File
@@ -97,7 +97,7 @@ fn locate_ecam_dtb<T>(
pub const MCFG_NAME: [u8; 4] = *b"MCFG";
#[repr(packed)]
#[repr(C, packed)]
#[derive(Clone, Copy, Debug)]
pub struct Mcfg {
// base sdt fields