Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: fix smbios memory Misc info attrs on big endian
SMBIOS fields are apparently little-endian (although the spec isn't totally clear, that's what dmidecode assumes). So change the byte order when reading multibyte fields (only memory size and extended_size for now). The bug appeared on BE platforms when running the linux test "32em64t-2n8c+dax+nvme+mic+dimms" linux (gathered from a little-endian platform). This test is the only one where we have dimm information. Fixes abfd613 Closes open-mpi#637 Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr> (cherry picked from commit d70f784)
- Loading branch information