From: Simon Glass Date: Fri, 5 Feb 2021 04:17:15 +0000 (-0700) Subject: smbios: Use char consistently for the eos member X-Git-Tag: v2025.01-rc5-pxa1908~2023^2~8 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=dc090586a0257699a497290bbc85588abc773bc2;p=u-boot.git smbios: Use char consistently for the eos member At present a few of the structs use u8 instead of char. This is a string, so char is better. Update them. Signed-off-by: Simon Glass Reviewed-by: Christian Gmeiner Reviewed-by: Bin Meng --- diff --git a/include/smbios.h b/include/smbios.h index fc69188a8f..1cbeabf952 100644 --- a/include/smbios.h +++ b/include/smbios.h @@ -183,14 +183,14 @@ struct __packed smbios_type32 { u16 handle; u8 reserved[6]; u8 boot_status; - u8 eos[SMBIOS_STRUCT_EOS_BYTES]; + char eos[SMBIOS_STRUCT_EOS_BYTES]; }; struct __packed smbios_type127 { u8 type; u8 length; u16 handle; - u8 eos[SMBIOS_STRUCT_EOS_BYTES]; + char eos[SMBIOS_STRUCT_EOS_BYTES]; }; struct __packed smbios_header {