Record type depricated for Gen8.  If record number reused in future,
it will have a different decoding.

Signed-off-by: Jerry Hoemann <jerry.hoem...@hpe.com>
---
 dmioem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dmioem.c b/dmioem.c
index 46c1142..3ada0cb 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");
-- 
2.39.2


Reply via email to