diff options
| author | Sergey Nazarov <[email protected]> | 2021-06-08 06:32:06 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2021-06-09 02:05:24 +0000 |
| commit | 619ed58ac4e2fbed71ac05f664a4a17e32537176 (patch) | |
| tree | 284e66e9f6da7db0cec7958bd847178b5687f968 /net/switchdev/switchdev.c | |
| parent | audit: add blank line after variable declarations (diff) | |
| download | kernel-619ed58ac4e2fbed71ac05f664a4a17e32537176.tar.gz kernel-619ed58ac4e2fbed71ac05f664a4a17e32537176.zip | |
audit: Rename enum audit_state constants to avoid AUDIT_DISABLED redefinition
AUDIT_DISABLED defined in kernel/audit.h as element of enum audit_state
and redefined in kernel/audit.c. This produces a warning when kernel builds
with syscalls audit disabled and brokes kernel build if -Werror used.
enum audit_state used in syscall audit code only. This patch changes
enum audit_state constants prefix AUDIT to AUDIT_STATE to avoid
AUDIT_DISABLED redefinition.
Signed-off-by: Sergey Nazarov <[email protected]>
Acked-by: Richard Guy Briggs <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
