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>
This commit is contained in:
parent
0e89b85906
commit
dc090586a0
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue