diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-04 21:17:15 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2021-02-06 19:18:41 +0800 |
commit | dc090586a0257699a497290bbc85588abc773bc2 (patch) | |
tree | 2e54e4699aa818bf710001e5453e5c501272e96c /include/smbios.h | |
parent | 0e89b85906eafa22971f685fe5b184852f7b4eb0 (diff) | |
download | u-boot-dc090586a0257699a497290bbc85588abc773bc2.tar.gz u-boot-dc090586a0257699a497290bbc85588abc773bc2.tar.bz2 u-boot-dc090586a0257699a497290bbc85588abc773bc2.zip |
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 <sjg@chromium.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/smbios.h')
-rw-r--r-- | include/smbios.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |