kernel: Compliment va_copy with va_end()
PATCH 1/1 kernel: Compliment va_copy with va_end()
Compliment va_copy() with va_end().
Signed-off-by Richard Knutsson <[email protected]>
---
Compile-tested on i386 with allyesconfig & allmodconfig.
kernel/audit.c +1 -0
@@ -1245,6 +1245,7 @@ static void audit_log_vformat(struct audit_buffer *ab, const char *fmt, goto out; len =vsnprintf (skb_tail_pointer (skb), avail, fmt, args2); } +va_end (args2);if (len >0 )skb_put (skb, len); out: