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

2017-08-01 Thread Simon Glass
On 30 July 2017 at 13:40, Heinrich Schuchardt wrote: > va_start must always be matched by va_end. > > Signed-off-by: Heinrich Schuchardt > --- > lib/tpm.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > Reviewed-by: Simon Glass But don't you think it would be better to 'goto' th

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

2017-07-30 Thread Heinrich Schuchardt
va_start must always be matched by va_end. Signed-off-by: Heinrich Schuchardt --- lib/tpm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/tpm.c b/lib/tpm.c index fb520e3d73..d1cf5a8a16 100644 --- a/lib/tpm.c +++ b/lib/tpm.c @@ -95,8 +95,10 @@ int pack_byte_string(ui