diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2020-11-06 09:31:22 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-11-25 05:28:02 +0100 |
commit | ba59eae723857257a791618092d8022ad82efaa4 (patch) | |
tree | 152e726d3a3d97eda1dbda477e4731054a9d8c29 /drivers/clk/ti/clk-33xx.c | |
parent | audit: trigger accompanying records when no rules present (diff) | |
download | linux-ba59eae723857257a791618092d8022ad82efaa4.tar.xz linux-ba59eae723857257a791618092d8022ad82efaa4.zip |
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 <alex.shi@linux.alibaba.com>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Richard Guy Briggs <rgb@redhat.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: linux-audit@redhat.com
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/clk/ti/clk-33xx.c')
0 files changed, 0 insertions, 0 deletions