summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Hoemann <jerry.hoemann@hpe.com>2023-04-07 17:52:53 +0200
committerJean Delvare <jdelvare@suse.de>2023-04-07 17:52:53 +0200
commit5ab166b9803a51c7a584daee2dc2326f932c3795 (patch)
tree3c7f49bbe16059027f59db45eaf3c343c126806d
parentcda5931632c1226825ebc81b99bf8a5c7f7794da (diff)
downloaddmidecode-git-5ab166b9803a51c7a584daee2dc2326f932c3795.tar.gz
dmioem: Update HPE OEM Record 212
Record type deprecated for Gen9. 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 5803879..6c94919 100644
--- a/dmioem.c
+++ b/dmioem.c
@@ -966,6 +966,7 @@ static int dmi_decode_hp(const struct dmi_header *h)
*
* Source: hpwdt kernel driver
*/
+ if (gen >= G9) return 0;
pr_handle_name("%s 64-bit CRU Information", company);
if (h->length < 0x18) break;
if (is_printable(data + 0x04, 4))