aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
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 /lib
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-next-history-8b226771014beab1292081151a99530886ce54b4.tar.gz
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 'lib')
-rw-r--r--lib/compat_audit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/compat_audit.c b/lib/compat_audit.c
index 3d6b8996f027d..fee1dfccd116b 100644
--- a/lib/compat_audit.c
+++ b/lib/compat_audit.c
@@ -4,32 +4,32 @@
#include <linux/audit_arch.h>
#include <asm/unistd32.h>
-unsigned compat_dir_class[] = {
+unsigned int compat_dir_class[] = {
#include <asm-generic/audit_dir_write.h>
~0U
};
-unsigned compat_read_class[] = {
+unsigned int compat_read_class[] = {
#include <asm-generic/audit_read.h>
~0U
};
-unsigned compat_write_class[] = {
+unsigned int compat_write_class[] = {
#include <asm-generic/audit_write.h>
~0U
};
-unsigned compat_chattr_class[] = {
+unsigned int compat_chattr_class[] = {
#include <asm-generic/audit_change_attr.h>
~0U
};
-unsigned compat_signal_class[] = {
+unsigned int compat_signal_class[] = {
#include <asm-generic/audit_signal.h>
~0U
};
-int audit_classify_compat_syscall(int abi, unsigned syscall)
+int audit_classify_compat_syscall(int abi, unsigned int syscall)
{
switch (syscall) {
#ifdef __NR_open