diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-09-07 14:32:20 +0200 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-09-27 23:03:45 +0200 |
commit | 72630d9a01c8ba56c55671a1b103aa5e2df57408 (patch) | |
tree | 245d58b33d6e5642bc91b8150cf1857d6bfaf1e5 | |
parent | IPMI: make ipmi_poweroff_handler const (diff) | |
download | linux-72630d9a01c8ba56c55671a1b103aa5e2df57408.tar.xz linux-72630d9a01c8ba56c55671a1b103aa5e2df57408.zip |
ipmi: Fix getting the GUID data
It was off by one.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
-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); |