ipmi: fix runtime on powerpc64le

Differential Revision: https://reviews.freebsd.org/D49530

(cherry picked from commit 2e16618fe789f110bd8d297b1c65b166fa60c2fe)
This commit is contained in:
Piotr Kubaj 2025-03-27 12:55:48 +01:00
parent bebe2fea19
commit 1e84a6ba21

View file

@ -94,6 +94,7 @@ opal_ipmi_recv(struct opal_ipmi_softc *sc, uint64_t *msg_len, int timo)
opal_call(OPAL_POLL_EVENTS, NULL);
err = opal_call(OPAL_IPMI_RECV, sc->sc_interface,
vtophys(sc->sc_msg), vtophys(msg_len));
*msg_len = be64toh(*msg_len);
if (err != OPAL_EMPTY)
break;