Messages in this thread Patch in this message | | | Date | Tue, 9 May 2006 19:55:56 -0700 | From | Daniel Walker <> | Subject | [PATCH -mm] audit_filter_user gcc 4.1 warning fix |
| |
Fixes the following warning,
kernel/auditfilter.c: In function âaudit_filter_userâ: kernel/auditfilter.c:762: warning: âstateâ is used uninitialized in this function
Signed-Off-By: Daniel Walker <dwalker@mvista.com>
Index: linux-2.6.16/kernel/auditfilter.c =================================================================== --- linux-2.6.16.orig/kernel/auditfilter.c +++ linux-2.6.16/kernel/auditfilter.c @@ -753,7 +753,7 @@ static int audit_filter_user_rules(struc int audit_filter_user(struct netlink_skb_parms *cb, int type) { struct audit_entry *e; - enum audit_state state; + enum audit_state state = AUDIT_DISABLED; int ret = 1; rcu_read_lock(); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |