diff options
Diffstat (limited to 'arch/sparc/kernel/audit.c')
-rw-r--r-- | arch/sparc/kernel/audit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sparc/kernel/audit.c b/arch/sparc/kernel/audit.c index 24361b494a93..2585c1e14bcc 100644 --- a/arch/sparc/kernel/audit.c +++ b/arch/sparc/kernel/audit.c | |||
@@ -5,27 +5,27 @@ | |||
5 | 5 | ||
6 | #include "kernel.h" | 6 | #include "kernel.h" |
7 | 7 | ||
8 | static unsigned dir_class[] = { | 8 | static unsigned int dir_class[] = { |
9 | #include <asm-generic/audit_dir_write.h> | 9 | #include <asm-generic/audit_dir_write.h> |
10 | ~0U | 10 | ~0U |
11 | }; | 11 | }; |
12 | 12 | ||
13 | static unsigned read_class[] = { | 13 | static unsigned int read_class[] = { |
14 | #include <asm-generic/audit_read.h> | 14 | #include <asm-generic/audit_read.h> |
15 | ~0U | 15 | ~0U |
16 | }; | 16 | }; |
17 | 17 | ||
18 | static unsigned write_class[] = { | 18 | static unsigned int write_class[] = { |
19 | #include <asm-generic/audit_write.h> | 19 | #include <asm-generic/audit_write.h> |
20 | ~0U | 20 | ~0U |
21 | }; | 21 | }; |
22 | 22 | ||
23 | static unsigned chattr_class[] = { | 23 | static unsigned int chattr_class[] = { |
24 | #include <asm-generic/audit_change_attr.h> | 24 | #include <asm-generic/audit_change_attr.h> |
25 | ~0U | 25 | ~0U |
26 | }; | 26 | }; |
27 | 27 | ||
28 | static unsigned signal_class[] = { | 28 | static unsigned int signal_class[] = { |
29 | #include <asm-generic/audit_signal.h> | 29 | #include <asm-generic/audit_signal.h> |
30 | ~0U | 30 | ~0U |
31 | }; | 31 | }; |
@@ -39,7 +39,7 @@ int audit_classify_arch(int arch) | |||
39 | return 0; | 39 | return 0; |
40 | } | 40 | } |
41 | 41 | ||
42 | int audit_classify_syscall(int abi, unsigned syscall) | 42 | int audit_classify_syscall(int abi, unsigned int syscall) |
43 | { | 43 | { |
44 | #ifdef CONFIG_COMPAT | 44 | #ifdef CONFIG_COMPAT |
45 | if (abi == AUDIT_ARCH_SPARC) | 45 | if (abi == AUDIT_ARCH_SPARC) |