From: Heinrich Schuchardt Date: Thu, 25 Jan 2024 15:54:33 +0000 (+0100) Subject: smbios: type2: contained object handles X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=a5866c3c99a1f55fa10a8ffecbb45ed64118d9a6;p=u-boot.git smbios: type2: contained object handles 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 Reviewed-by: Ilias Apalodimas --- diff --git a/include/smbios.h b/include/smbios.h index b507b9d9d7..98bb9e52cd 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]; };