diff options
author | Heinrich Schuchardt | 2024-01-25 16:54:33 +0100 |
---|---|---|
committer | Heinrich Schuchardt | 2024-01-26 14:15:08 +0100 |
commit | a5866c3c99a1f55fa10a8ffecbb45ed64118d9a6 (patch) | |
tree | e5002693e4ff37de040d61c7d0851319eceba2d8 /include | |
parent | e7f9e5eb584dd0b5d1b1ff82fe607d6da9940cc6 (diff) |
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 <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/smbios.h | 1 |
1 files changed, 1 insertions, 0 deletions
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]; }; |