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:
parent
e9d764f803
commit
1b855e167b
2 changed files with 2 additions and 0 deletions
|
@ -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, ...)
|
|||
break;
|
||||
}
|
||||
}
|
||||
va_end(args);
|
||||
}
|
||||
#else /* CONFIG_BOOTX_TEXT */
|
||||
static void __init bootx_printf(const char *format, ...) {}
|
||||
|
|
Loading…
Reference in a new issue