summaryrefslogtreecommitdiff
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorRicardo Robaina <rrobaina@redhat.com>2026-05-14 12:13:20 -0300
committerPaul Moore <paul@paul-moore.com>2026-05-26 17:15:30 -0400
commit8b226771014beab1292081151a99530886ce54b4 (patch)
tree5d0dee14f63caca4d467794c7ea85914007c3196 /kernel/audit.h
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-next-8b226771014beab1292081151a99530886ce54b4.tar.gz
linux-next-8b226771014beab1292081151a99530886ce54b4.zip
audit: use 'unsigned int' instead of 'unsigned'
Address checkpatch.pl warning below, across the audit subsystem: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Minor cleanup, no functional changes. Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r--kernel/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h
index ac81fa02bcd7..a5926c83e61b 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -233,7 +233,7 @@ static inline int audit_hash_ino(u64 ino)
/* Indicates that audit should log the full pathname. */
#define AUDIT_NAME_FULL -1
-extern int audit_match_class(int class, unsigned syscall);
+extern int audit_match_class(int class, unsigned int syscall);
extern int audit_comparator(const u32 left, const u32 op, const u32 right);
extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right);
extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right);