On Mon, Jan 25, 2021 at 1:51 AM Simon Glass <s...@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 <s...@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...@gmail.com>

Reply via email to