OPAL runs in big-endian mode, so we need to byteswap msg_len on little-endian.
MFC after: 1 week
Differential D49530
ipmi: fix runtime on powerpc64le pkubaj on Thu, Mar 27, 11:57 AM. Authored by Tags None Referenced Files
Details
OPAL runs in big-endian mode, so we need to byteswap msg_len on little-endian. MFC after: 1 week ipmitool lan print
Diff Detail
Event TimelineComment Actions Slightly cleaner would be to use a local variable for msg_len, and write it out at the end, but this is fine. |