[U-Boot] [PATCH 1/1] tpm: add missing va_end

Simon Glass sjg at chromium.org
Tue Aug 1 09:49:19 UTC 2017


On 30 July 2017 at 13:40, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> va_start must always be matched by va_end.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  lib/tpm.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

But don't you think it would be better to 'goto' the end of the
function and have va_end() once?

Regards,
Simon


More information about the U-Boot mailing list