From 46a0628addfc43f37c0830d908bebab0887eb889 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 15 Jun 2022 13:35:25 +0200 Subject: dmidecode: Drop outdated references Types 126 and 127 are at the end of the list, their reference section changes as new structure types are being added to the specification. Just omit the section number for them, so that we don't have to update it with every new version of the specification. Signed-off-by: Jean Delvare --- dmidecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmidecode.c b/dmidecode.c index d290117..d93cd68 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -5348,11 +5348,11 @@ static void dmi_decode(const struct dmi_header *h, u16 ver) dmi_firmware_components(data[0x17], data + 0x18); break; - case 126: /* 7.44 Inactive */ + case 126: pr_handle_name("Inactive"); break; - case 127: /* 7.45 End Of Table */ + case 127: pr_handle_name("End Of Table"); break; -- cgit v1.2.1