Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ef00be0554f1af9f2b685e0e3bb9e2ec0181937e
Commit:     ef00be0554f1af9f2b685e0e3bb9e2ec0181937e
Parent:     b593d384efcff7bdf6beb1bc1bc69927977aee26
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 10 11:02:39 2008 -0800
Committer:  Al Viro <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:24:51 2008 -0500

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
 kernel/audit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/audit.c b/kernel/audit.c
index 1242021..b617f69 100644
--- 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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to