Skip to content

Commit

Permalink
ipmi: endian conversion
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
npiggin authored and oohal committed Dec 16, 2019
1 parent 1959efa commit a2c74d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/ipmi/ipmi-sel.c
Expand Up @@ -192,7 +192,7 @@ static void ipmi_init_esel_record(void)
{
memset(&sel_record, 0, sizeof(struct sel_record));
sel_record.record_type = SEL_REC_TYPE_AMI_ESEL;
sel_record.generator_id = SEL_GENERATOR_ID_AMI;
sel_record.generator_id = cpu_to_le16(SEL_GENERATOR_ID_AMI);
sel_record.evm_ver = SEL_EVM_VER_2;
sel_record.sensor_type = SENSOR_TYPE_SYS_EVENT;
sel_record.sensor_number =
Expand Down

0 comments on commit a2c74d8

Please sign in to comment.