summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2015-12-17 19:41:00 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-12-17 23:23:22 +1100
commit1b855e167b90fcb353977c08932d0a52eb8ae5b9 (patch)
tree0d46a561d7647758093345bb5c000d6ec2149a19 /arch/powerpc/kernel
parente9d764f803964a54ca7da4a67d124fe824ebd80a (diff)
downloadblackbird-obmc-linux-1b855e167b90fcb353977c08932d0a52eb8ae5b9.tar.gz
blackbird-obmc-linux-1b855e167b90fcb353977c08932d0a52eb8ae5b9.zip
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/kernel')
-rw-r--r--arch/powerpc/kernel/prom_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index 92dea8df6b26..da5192590c44 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -389,6 +389,7 @@ static void __init prom_printf(const char *format, ...)
break;
}
}
+ va_end(args);
}
OpenPOWER on IntegriCloud