On Wed, Nov 11, 2020 at 7:38 PM Alex Shi <[email protected]> wrote: > From 5fef5f1b7b745b52bedc9c7eec9fc163202ad421 Mon Sep 17 00:00:00 2001 > From: Alex Shi <[email protected]> > Date: Fri, 6 Nov 2020 16:31:22 +0800 > Subject: [PATCH v3] audit: fix macros warnings > > Some unused macros could cause gcc warning: > kernel/audit.c:68:0: warning: macro "AUDIT_UNINITIALIZED" is not used > [-Wunused-macros] > kernel/auditsc.c:104:0: warning: macro "AUDIT_AUX_IPCPERM" is not used > [-Wunused-macros] > kernel/auditsc.c:82:0: warning: macro "AUDITSC_INVALID" is not used > [-Wunused-macros] > > AUDIT_UNINITIALIZED and AUDITSC_INVALID are still meaningful and should > be in incorporated. > > Just remove AUDIT_AUX_IPCPERM. > > Thanks comments from Richard Guy Briggs and Paul Moore. > > Signed-off-by: Alex Shi <[email protected]> > Cc: Paul Moore <[email protected]> > Cc: Richard Guy Briggs <[email protected]> > Cc: Eric Paris <[email protected]> > Cc: [email protected] > Cc: [email protected] > --- > kernel/audit.c | 2 +- > kernel/auditsc.c | 11 +++++------ > 2 files changed, 6 insertions(+), 7 deletions(-)
Sorry for the delay, this was buried in my inbox but I've just merged it into audit/next. Thanks for your help and patience with this! -- paul moore www.paul-moore.com

