[PATCH v4 6/6] mm/nvdimm: Fix endian conversion issues