powerpc: Add missing calls to va_end()

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>
This commit is contained in:
Daniel Axtens 2015-12-17 19:41:00 +11:00 committed by Michael Ellerman
parent e9d764f803
commit 1b855e167b
2 changed files with 2 additions and 0 deletions

View file

@ -389,6 +389,7 @@ static void __init prom_printf(const char *format, ...)
break;
}
}
va_end(args);
}

View file

@ -84,6 +84,7 @@ static void __init bootx_printf(const char *format, ...)
break;
}
}
va_end(args);
}
#else /* CONFIG_BOOTX_TEXT */
static void __init bootx_printf(const char *format, ...) {}