[PATCH v3 07/12] smbios: Drop the eos parameter

Bin Meng bmeng.cn at gmail.com
Mon Feb 1 08:25:34 CET 2021


On Mon, Jan 25, 2021 at 1:51 AM Simon Glass <sjg at chromium.org> wrote:
>
> We can store this in the context and avoid passing it to each function.
> This makes it easier to follow and will also allow keeping track of the
> end of the string table (in future patches).
>
> Add an 'eos' field to the context and create a function to set it up.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Fix comment for smbios_add_prop()
> - Rename set_eos() to smbios_set_eos()
>
>  lib/smbios.c | 60 +++++++++++++++++++++++++++++++---------------------
>  1 file changed, 36 insertions(+), 24 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list