summaryrefslogtreecommitdiff
path: root/kernel/trace/rv/reactor_panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/rv/reactor_panic.c')
-rw-r--r--kernel/trace/rv/reactor_panic.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/trace/rv/reactor_panic.c b/kernel/trace/rv/reactor_panic.c
index 74c6bcc2c749..76537b8a4343 100644
--- a/kernel/trace/rv/reactor_panic.c
+++ b/kernel/trace/rv/reactor_panic.c
@@ -13,13 +13,9 @@
#include <linux/init.h>
#include <linux/rv.h>
-__printf(1, 2) static void rv_panic_reaction(const char *msg, ...)
+__printf(1, 0) static void rv_panic_reaction(const char *msg, va_list args)
{
- va_list args;
-
- va_start(args, msg);
vpanic(msg, args);
- va_end(args);
}
static struct rv_reactor rv_panic = {