diff options
author | Daniel Axtens <dja@axtens.net> | 2015-12-17 11:41:00 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-12-17 15:23:22 +0300 |
commit | 1b855e167b90fcb353977c08932d0a52eb8ae5b9 (patch) | |
tree | 0d46a561d7647758093345bb5c000d6ec2149a19 /arch/powerpc/platforms | |
parent | e9d764f803964a54ca7da4a67d124fe824ebd80a (diff) | |
download | linux-1b855e167b90fcb353977c08932d0a52eb8ae5b9.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/powermac/bootx_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/bootx_init.c b/arch/powerpc/platforms/powermac/bootx_init.c index 76f5013c35e5..c3c9bbb3573a 100644 --- a/arch/powerpc/platforms/powermac/bootx_init.c +++ b/arch/powerpc/platforms/powermac/bootx_init.c @@ -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, ...) {} |