Re: [PATCH] audit: remove useless code in audit_enable

2013-10-25 Thread Richard Guy Briggs
On Thu, Oct 24, 2013 at 10:59:54AM +0800, Gao feng wrote: > Since kernel parameter is operated before > initcall, so the audit_initialized must be > AUDIT_UNINITIALIZED or DISABLED in audit_enable. Looks good, but should convert "printk(KERN_INFO " to "pr_info(". > Signed-off-by: Gao feng > ---

[PATCH] audit: remove useless code in audit_enable

2013-10-23 Thread Gao feng
Since kernel parameter is operated before initcall, so the audit_initialized must be AUDIT_UNINITIALIZED or DISABLED in audit_enable. Signed-off-by: Gao feng --- kernel/audit.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c inde