diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-09-07 07:32:20 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-09-27 16:03:45 -0500 |
commit | 72630d9a01c8ba56c55671a1b103aa5e2df57408 (patch) | |
tree | 245d58b33d6e5642bc91b8150cf1857d6bfaf1e5 /drivers/char/ipmi/ipmi_msghandler.c | |
parent | e6dd76a6e9c20a6cc63406061f216d4eb7c9ae7b (diff) | |
download | linux-next-72630d9a01c8ba56c55671a1b103aa5e2df57408.tar.gz |
ipmi: Fix getting the GUID data
It was off by one.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |