x86/boot: Add missing va_end() to die()
authorMattias Jacobsson <2pi@mok.nu>
Wed, 28 Nov 2018 16:16:07 +0000 (17:16 +0100)
committerBorislav Petkov <bp@suse.de>
Wed, 28 Nov 2018 19:06:07 +0000 (20:06 +0100)
commit69be4efeb959147ff86f22e35aea9526f9b86715
tree3277ea3a4c3d134323723fea23b283b02b16776c
parente8eeb3c8aab044ee8faf5e0389db8518629a9324
x86/boot: Add missing va_end() to die()

Each call to va_start() must have a corresponding call to va_end()
before the end of the function. Add the missing va_end().

Found with Coccinelle.

Signed-off-by: Mattias Jacobsson <2pi@mok.nu>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20181128161607.10973-1-2pi@mok.nu
arch/x86/boot/tools/build.c