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>
This commit is contained in:
Jonathan Zhang 2022-10-24 13:48:38 -07:00 committed by Martin Roth
parent 9231f0b92a
commit cb3eaf680a

View file

@ -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 {