Address an incompatible change to record type 237. Field in offest 0x09 changed from a STRING to a WORD date. This causes the decode of these records to display <BAD INDEX>.
The patch addresses both forms of the record. This is accomplished based upon size of the field in offest 0x09. AFAIK, the version of record type 237 that is currently implemented in dmidecode never made it outside of HPE. So, patch addressing both forms might be overkill. I have implemented and tested a more straightforward change to the decoding of the record based upon its new definition. So, please let me know if you want the simpler fix. Fixes: cdab638dabb7 ("dmioem: Decode HPE OEM Record 237") Jerry Hoemann (1): dmioem: HPE OEM Record 237 Firmware change dmioem.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.39.2