artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c0a96
)
set c.c_maxrxlen to something. apparently lost a line somewhere.
author
tedu
<tedu@openbsd.org>
Thu, 29 Jun 2017 03:48:44 +0000
(
03:48
+0000)
committer
tedu
<tedu@openbsd.org>
Thu, 29 Jun 2017 03:48:44 +0000
(
03:48
+0000)
maybe it works now? :)
from Colin Stolley via Paul B. Henson
sys/dev/ipmi.c
patch
|
blob
|
history
diff --git
a/sys/dev/ipmi.c
b/sys/dev/ipmi.c
index
b78d1d4
..
07bc1c8
100644
(file)
--- a/
sys/dev/ipmi.c
+++ b/
sys/dev/ipmi.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ipmi.c,v 1.9
7 2016/06/07 01:31:5
4 tedu Exp $ */
+/* $OpenBSD: ipmi.c,v 1.9
8 2017/06/29 03:48:4
4 tedu Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi
@@
-1094,6
+1094,7
@@
get_sdr_partial(struct ipmi_softc *sc, u_int16_t recordId, u_int16_t reserveId,
c.c_cmd = STORAGE_GET_SDR;
c.c_txlen = IPMI_SET_WDOG_MAX;
c.c_rxlen = 0;
+ c.c_maxrxlen = 8 + length;
c.c_data = cmd;
ipmi_cmd(&c);
len = c.c_rxlen;