[patch 1/2] kernel/audit.c: warning fix

kernel/audit.c: In function 'audit_log_start':
kernel/audit.c:1133: warning: 'serial' may be used uninitialized in this function

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by Andrew Morton and committed by Al Viro ef00be05 b593d384

+1 -1
+1 -1
kernel/audit.c
··· 1032 { 1033 struct audit_buffer *ab = NULL; 1034 struct timespec t; 1035 - unsigned int serial; 1036 int reserve; 1037 unsigned long timeout_start = jiffies; 1038
··· 1032 { 1033 struct audit_buffer *ab = NULL; 1034 struct timespec t; 1035 + unsigned int uninitialized_var(serial); 1036 int reserve; 1037 unsigned long timeout_start = jiffies; 1038