diff options
| author | Alex Shi <[email protected]> | 2020-11-06 16:31:22 +0800 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2020-11-24 23:28:02 -0500 |
| commit | ba59eae723857257a791618092d8022ad82efaa4 (patch) | |
| tree | 152e726d3a3d97eda1dbda477e4731054a9d8c29 /tools/perf/util/c++/clang.cpp | |
| parent | 6d915476e67d99b73a57bceb83cff1cf153d8bf6 (diff) | |
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]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions