summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRicardo Robaina <rrobaina@redhat.com>2026-03-03 16:35:28 +0300
committerPaul Moore <paul@paul-moore.com>2026-03-06 06:16:08 +0300
commitf3e334fb7f82cd63734faeb395419ab713b4bb5c (patch)
tree0bd5ccc4a879a27ec1bc5f8afe6047baadafb8fb /include
parenta6053fefcd3e3522274344dd5da8d49eafea25ca (diff)
downloadlinux-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 'include')
-rw-r--r--include/uapi/linux/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index 71cbdc542ce9..e8f5ce677df7 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -508,7 +508,7 @@ struct audit_tty_status {
__u32 log_passwd; /* 1 = enabled, 0 = disabled */
};
-#define AUDIT_UID_UNSET (unsigned int)-1
+#define AUDIT_UID_UNSET ((unsigned int)-1)
#define AUDIT_SID_UNSET ((unsigned int)-1)
/* audit_rule_data supports filter rules with both integer and string