From d14234bf1eba740c2360541efe279d76176dab90 Mon Sep 17 00:00:00 2001 From: Jerry Hoemann Date: Fri, 7 Apr 2023 17:52:57 +0200 Subject: dmioem: Update HPE OEM Record 236 Record type deprecated for Gen11. If record number reused in future, it will have a different decoding. Signed-off-by: Jerry Hoemann Signed-off-by: Jean Delvare --- dmioem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dmioem.c b/dmioem.c index 6c94919..8eaa5e6 100644 --- a/dmioem.c +++ b/dmioem.c @@ -1156,6 +1156,7 @@ static int dmi_decode_hp(const struct dmi_header *h) * 0x13 | A2 Bays | BYTE | (deprecated) Number of SAS drive bays behind port 0xA2 * 0x14 | Name | STRING| (deprecated) Backplane Name */ + if (gen >= G11) return 0; pr_handle_name("%s HDD Backplane FRU Information", company); if (h->length < 0x08) break; pr_attr("FRU I2C Address", "0x%X raw(0x%X)", data[0x4] >> 1, data[0x4]); -- cgit v1.2.1