Commit 1b855e16 authored by Daniel Axtens's avatar Daniel Axtens Committed by Michael Ellerman

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: default avatarDaniel Axtens <dja@axtens.net>
Reviewed-by: default avatarRussell Currey <ruscur@russell.cc>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent e9d764f8
......@@ -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, ...) {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment