diff options
author | Jonathan Zhang <jonzhang@meta.com> | 2022-10-24 13:48:38 -0700 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-31 03:27:52 +0000 |
commit | cb3eaf680a367d3ea54741cb194c6e2c2af14858 (patch) | |
tree | c6a75f910e5c713e143ea53ef493f5ecb3295b2a /src | |
parent | 9231f0b92a3735bbdb638b8ad92832eaaddb9b8b (diff) |
drivers/ipmi/ipmi_ops.h: add __packed to sel_rec structs
Align with BMC on the SEL record format.
Change-Id: Icfcef684caa253663503eadffc819ad2ab65550f
Signed-off-by: Yiwei Tang <tangyiwei.2022@bytedance.com>
Signed-off-by: Jonathan Zhang <jonzhang@meta.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68757
Reviewed-by: Shuming Chu (Shuming) <s1218944@gmail.com>
Reviewed-by: TangYiwei
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/ipmi/ipmi_ops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/ipmi/ipmi_ops.h b/src/drivers/ipmi/ipmi_ops.h index 7a92a28121..788ae85d76 100644 --- a/src/drivers/ipmi/ipmi_ops.h +++ b/src/drivers/ipmi/ipmi_ops.h @@ -57,17 +57,17 @@ struct standard_spec_sel_rec { uint8_t sensor_num; uint8_t event_dir_type; uint8_t event_data[3]; -}; +} __packed; struct oem_ts_spec_sel_rec { uint32_t timestamp; uint8_t manf_id[3]; uint8_t oem_defined[6]; -}; +} __packed; struct oem_nots_spec_sel_rec { uint8_t oem_defined[13]; -}; +} __packed; /* SEL Event Record */ struct sel_event_record { |