From c41ea67f3ea56da03255ee8d2cddd018a064ed0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Tue, 1 Dec 2015 16:19:51 +0100 Subject: ipmi-sel: fix oem_sel attributes order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Vasant Hegde Signed-off-by: Stewart Smith --- hw/ipmi/ipmi-sel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1