[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dmidecode] [PATCH 6/7] dmidecode: Drop outdated references
From: |
Jean Delvare |
Subject: |
[dmidecode] [PATCH 6/7] dmidecode: Drop outdated references |
Date: |
Mon, 30 May 2022 14:17:13 +0200 |
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 <jdelvare@suse.de>
---
dmidecode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- dmidecode.orig/dmidecode.c 2022-05-30 13:06:10.898177601 +0200
+++ dmidecode/dmidecode.c 2022-05-30 13:09:01.075307503 +0200
@@ -5348,11 +5348,11 @@ static void dmi_decode(const struct dmi_
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;
--
Jean Delvare
SUSE L3 Support
- [dmidecode] [PATCH 0/7] dmidecode: Add support for SMBIOS 3.5.0, Jean Delvare, 2022/05/30
- [dmidecode] [PATCH 1/7] dmidecode: Make dmi_slot_bus_width() reusable, Jean Delvare, 2022/05/30
- [dmidecode] [PATCH 2/7] dmidecode: Add missing bits from SMBIOS 3.4.0 specification, Jean Delvare, 2022/05/30
- [dmidecode] [PATCH 3/7] dmidecode: Add new fields and enumerated values from SMBIOS 3.5.0, Jean Delvare, 2022/05/30
- [dmidecode] [PATCH 4/7] dmidecode: Add support for type 45 records (Firmware Inventory Information), Jean Delvare, 2022/05/30
- [dmidecode] [PATCH 5/7] dmidecode: Enumerate the new struct types, Jean Delvare, 2022/05/30
- [dmidecode] [PATCH 6/7] dmidecode: Drop outdated references,
Jean Delvare <=
- [dmidecode] [PATCH 7/7] dmidecode: Set supported version to 3.5.0, Jean Delvare, 2022/05/30