smbios-mdr: Change MemoryInfo.attributes type to uint8_t
PDI changed the type of `attributes` from uint8_t to size_t.
However the SMBIOS spec only reserved 1 byte for this field.
So we need to keep `attribute` in 1 byte otherwise the field after
`attribute` will be shifted.
Tested:
Before
.MemorySizeInKB property u 1258291200
After
.MemorySizeInKB property u 33554432
Patch Tracking Bug: b/296189510
Upstream info / review:
https://gerrit.openbmc.org/c/openbmc/smbios-mdr/+/66040
Upstream-Status: Submitted
Justification: Pending upstream review
Google-Bug-Id: b/296115559
Change-Id: I35551fd251d97a18d7529e581e2ef3b570dd20f7
Signed-off-by: Michael Shen <gpgpgp@google.com>
2 files changed