提交 1b855e16 编写于 作者: D Daniel Axtens 提交者: 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: NDaniel Axtens <dja@axtens.net>
Reviewed-by: NRussell Currey <ruscur@russell.cc>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册