projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6dd76a
)
ipmi: Fix getting the GUID data
author
Corey Minyard
<cminyard@mvista.com>
Thu, 7 Sep 2017 12:32:20 +0000
(07:32 -0500)
committer
Corey Minyard
<cminyard@mvista.com>
Wed, 27 Sep 2017 21:03:45 +0000
(16:03 -0500)
It was off by one.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_msghandler.c
b/drivers/char/ipmi/ipmi_msghandler.c
index 047ca9fcb29ba6a38bc46df6864f4f0921349372..dbf8c6ac8c7337f1a45fb39ad288e1bc4e08f13b 100644
(file)
--- 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);