All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/4] smbios: type2: contained object handles
@ 2024-01-17 15:33 Heinrich Schuchardt
  2024-01-17 15:33 ` [PATCH v2 2/4] cmd: provide command to display SMBIOS information Heinrich Schuchardt
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Heinrich Schuchardt @ 2024-01-17 15:33 UTC (permalink / raw)
  To: Tom Rini
  Cc: Simon Glass, Ilias Apalodimas, Bin Meng, u-boot,
	Heinrich Schuchardt

The type 2 structure must include information about the contained objects.
It is fine to set the number of contained object handles to 0.

Add the missing field.

Fixes: 721e992a8af5 ("x86: Add SMBIOS table support")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
v2:
	email address updated
---
 include/smbios.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/smbios.h b/include/smbios.h
index b507b9d9d72..98bb9e52cdf 100644
--- a/include/smbios.h
+++ b/include/smbios.h
@@ -139,6 +139,7 @@ struct __packed smbios_type2 {
 	u8 chassis_location;
 	u16 chassis_handle;
 	u8 board_type;
+	u8 number_contained_objects;
 	char eos[SMBIOS_STRUCT_EOS_BYTES];
 };
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-01-25 10:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17 15:33 [PATCH v2 1/4] smbios: type2: contained object handles Heinrich Schuchardt
2024-01-17 15:33 ` [PATCH v2 2/4] cmd: provide command to display SMBIOS information Heinrich Schuchardt
2024-01-18 12:39   ` Ilias Apalodimas
2024-01-18 12:54     ` Heinrich Schuchardt
2024-01-18 12:58       ` Ilias Apalodimas
2024-01-24 21:16   ` Tom Rini
2024-01-24 23:24     ` Heinrich Schuchardt
2024-01-25  0:17       ` Tom Rini
2024-01-25 10:45       ` Peter Robinson
2024-01-17 15:33 ` [PATCH v2 3/4] doc: man-page for smbios command Heinrich Schuchardt
2024-01-17 15:33 ` [PATCH v2 4/4] test: unit test " Heinrich Schuchardt
2024-01-18 11:51   ` Ilias Apalodimas
2024-01-18 12:33     ` Heinrich Schuchardt
2024-01-18 12:35       ` Ilias Apalodimas
2024-01-17 16:10 ` [PATCH v2 0/4] cmd: provide command to display SMBIOS information Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.