cppcheck picked up that there were a couple of missing va_end() calls in functions using va_start(). Signed-off-by: Daniel Axtens <dja@axtens.net> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
@@ -389,6 +389,7 @@ static void __init prom_printf(const char *format, ...)
break;
}
+ va_end(args);
@@ -84,6 +84,7 @@ static void __init bootx_printf(const char *format, ...)
#else /* CONFIG_BOOTX_TEXT */
static void __init bootx_printf(const char *format, ...) {}