From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 20 Jan 2021 19:06:34 -0700 Subject: [PATCH v2 04/12] smbios: Use char consistently for the eos member In-Reply-To: <20210121020642.551093-1-sjg@chromium.org> References: <20210121020642.551093-1-sjg@chromium.org> Message-ID: <20210120190636.v2.4.I4f74a41778d64be702edad8fca961510153c59e7@changeid> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- (no changes since v1) include/smbios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/smbios.h b/include/smbios.h index fc69188a8fe..1cbeabf9522 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 { -- 2.30.0.296.g2bfb1c46d8-goog