diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-15 16:19:40 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-15 16:19:40 +1000 |
commit | 61e6c5d32b62d76fa7cafecd183864cf634ca9ef (patch) | |
tree | 56f19162a1695b3ca47cf21aa971ad3f08178804 /hw/ipmi | |
parent | 07c6aa678d3bb6948244494afae2f1b429666cde (diff) | |
parent | 7027d7d2b8d982e508fb48997c1ba99c33640709 (diff) | |
download | skiboot-61e6c5d32b62d76fa7cafecd183864cf634ca9ef.zip skiboot-61e6c5d32b62d76fa7cafecd183864cf634ca9ef.tar.gz skiboot-61e6c5d32b62d76fa7cafecd183864cf634ca9ef.tar.bz2 |
Merge branch 'skiboot-5.2.x'
Diffstat (limited to 'hw/ipmi')
-rw-r--r-- | hw/ipmi/ipmi-sel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ipmi/ipmi-sel.c b/hw/ipmi/ipmi-sel.c index fa888a8..d26059b 100644 --- a/hw/ipmi/ipmi-sel.c +++ b/hw/ipmi/ipmi-sel.c @@ -217,8 +217,8 @@ static void ipmi_init_esel_record(void) static void ipmi_update_sel_record(uint8_t event_severity, uint16_t esel_record_id) { sel_record.record_type = SEL_REC_TYPE_SYS_EVENT; - sel_record.event_data2 = esel_record_id & 0xff; - sel_record.event_data3 = (esel_record_id >> 8) & 0xff; + sel_record.event_data2 = (esel_record_id >> 8) & 0xff; + sel_record.event_data3 = esel_record_id & 0xff; switch (event_severity) { case OPAL_ERROR_PANIC: |