From 72630d9a01c8ba56c55671a1b103aa5e2df57408 Mon Sep 17 00:00:00 2001 From: Corey Minyard Date: Thu, 7 Sep 2017 07:32:20 -0500 Subject: ipmi: Fix getting the GUID data It was off by one. Signed-off-by: Corey Minyard --- drivers/char/ipmi/ipmi_msghandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 047ca9fcb29b..dbf8c6ac8c73 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -2699,7 +2699,7 @@ guid_handler(ipmi_smi_t intf, struct ipmi_recv_msg *msg) goto out; } - memcpy(intf->bmc->guid, msg->msg.data, 16); + memcpy(intf->bmc->guid, msg->msg.data + 1, 16); intf->bmc->guid_set = 1; out: wake_up(&intf->waitq); -- cgit v1.2.3