summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Hoemann <jerry.hoemann@hpe.com>2023-04-07 17:52:46 +0200
committerJean Delvare <jdelvare@suse.de>2023-04-07 17:52:46 +0200
commitcda5931632c1226825ebc81b99bf8a5c7f7794da (patch)
tree8bf0ff9b130455ab6885f5b200adb1c2e6979208
parenta4c2bede047914ddb4bf3589ba3b033fb034a4af (diff)
downloaddmidecode-git-cda5931632c1226825ebc81b99bf8a5c7f7794da.tar.gz
dmioem: Update HPE OEM Record 221
Record type deprecated for Gen8. 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 ae9b355..5803879 100644
--- a/dmioem.c
+++ b/dmioem.c
@@ -943,6 +943,7 @@ static int dmi_decode_hp(const struct dmi_header *h)
*
* Type 221: is deprecated in the latest docs
*/
+ if (gen >= G8 && h->type == 221) return 0;
pr_handle_name("%s %s", company, h->type == 221 ?
"BIOS iSCSI NIC PCI and MAC Information" :
"BIOS PXE NIC PCI and MAC Information");