diff options
| author | Ricardo Robaina <rrobaina@redhat.com> | 2026-03-03 16:35:28 +0300 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-03-06 06:16:08 +0300 |
| commit | f3e334fb7f82cd63734faeb395419ab713b4bb5c (patch) | |
| tree | 0bd5ccc4a879a27ec1bc5f8afe6047baadafb8fb /lib | |
| parent | a6053fefcd3e3522274344dd5da8d49eafea25ca (diff) | |
| download | linux-f3e334fb7f82cd63734faeb395419ab713b4bb5c.tar.xz | |
audit: fix coding style issues
Fix various coding style issues across the audit subsystem flagged
by checkpatch.pl script to adhere to kernel coding standards.
Specific changes include:
- kernel/auditfilter.c: Move the open brace '{' to the previous line
for the audit_ops array declaration.
- lib/audit.c: Add a required space before the open parenthesis '('.
- include/uapi/linux/audit.h: Enclose the complex macro value for
AUDIT_UID_UNSET in parentheses.
Signed-off-by: Ricardo Robaina <rrobaina@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/audit.c b/lib/audit.c index 738bda22dd39..bc07fbd3a698 100644 --- a/lib/audit.c +++ b/lib/audit.c @@ -42,7 +42,7 @@ int audit_classify_syscall(int abi, unsigned syscall) if (audit_is_compat(abi)) return audit_classify_compat_syscall(abi, syscall); - switch(syscall) { + switch (syscall) { #ifdef __NR_open case __NR_open: return AUDITSC_OPEN; |
