summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Hoemann <jerry.hoemann@hpe.com>2023-04-07 17:52:57 +0200
committerJean Delvare <jdelvare@suse.de>2023-04-07 17:52:57 +0200
commitd14234bf1eba740c2360541efe279d76176dab90 (patch)
treeef748cdfd199f3ac09d304cf6af8d7162380bd0c
parent5ab166b9803a51c7a584daee2dc2326f932c3795 (diff)
downloaddmidecode-git-d14234bf1eba740c2360541efe279d76176dab90.tar.gz
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 <jerry.hoemann@hpe.com> Signed-off-by: Jean Delvare <jdelvare@suse.de>
-rw-r--r--dmioem.c1
1 files changed, 1 insertions, 0 deletions
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]);