projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b593d38
)
[patch 1/2] kernel/audit.c: warning fix
author
Andrew Morton
<akpm@linux-foundation.org>
Thu, 10 Jan 2008 19:02:39 +0000
(11:02 -0800)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:24:51 +0000
(14:24 -0500)
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>
kernel/audit.c
patch
|
blob
|
history
diff --git
a/kernel/audit.c
b/kernel/audit.c
index
1242021
..
b617f69
100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-1032,7
+1032,7
@@
struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask,
{
struct audit_buffer *ab = NULL;
struct timespec t;
- unsigned int
serial
;
+ unsigned int
uninitialized_var(serial)
;
int reserve;
unsigned long timeout_start = jiffies;