summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2015-12-01 16:19:51 +0100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-12-04 14:50:24 +1100
commitc41ea67f3ea56da03255ee8d2cddd018a064ed0c (patch)
tree559e638868d64aad658458e6d420d5207a592b58 /hw
parent6c21c4ffaf825b7a1bd130ff5b21c6349e772b68 (diff)
downloadtalos-skiboot-c41ea67f3ea56da03255ee8d2cddd018a064ed0c.tar.gz
talos-skiboot-c41ea67f3ea56da03255ee8d2cddd018a064ed0c.zip
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')
-rw-r--r--hw/ipmi/ipmi-sel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipmi/ipmi-sel.c b/hw/ipmi/ipmi-sel.c
index a1795134..4610829d 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;
OpenPOWER on IntegriCloud