diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-12-01 16:19:51 +0100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-12-04 14:50:24 +1100 |
commit | c41ea67f3ea56da03255ee8d2cddd018a064ed0c (patch) | |
tree | 559e638868d64aad658458e6d420d5207a592b58 /hw/ipmi | |
parent | 6c21c4ffaf825b7a1bd130ff5b21c6349e772b68 (diff) | |
download | skiboot-c41ea67f3ea56da03255ee8d2cddd018a064ed0c.zip skiboot-c41ea67f3ea56da03255ee8d2cddd018a064ed0c.tar.gz skiboot-c41ea67f3ea56da03255ee8d2cddd018a064ed0c.tar.bz2 |
ipmi-sel: fix oem_sel attributes order
The patch corrects the order of the timestamp and manuf_id
attributes, which currently are reversed from what is stated
in the specs. (32. SEL Record Formats)
We don't use them in skiboot so there should not be any
consequences. This is mostly for the records and for qemu
powernv.
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/ipmi')
-rw-r--r-- | hw/ipmi/ipmi-sel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipmi/ipmi-sel.c b/hw/ipmi/ipmi-sel.c index a179513..4610829 100644 --- a/hw/ipmi/ipmi-sel.c +++ b/hw/ipmi/ipmi-sel.c @@ -117,8 +117,8 @@ struct oem_sel { /* SEL header */ uint8_t id[2]; uint8_t type; - uint8_t manuf_id[3]; uint8_t timestamp[4]; + uint8_t manuf_id[3]; /* OEM SEL data (6 bytes) follows */ uint8_t netfun; uint8_t cmd; |