Make Mcfg repr(C, packed) rather than repr(packed)
repr(packed) officially still allows reordering the fields.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user