arm64: Remove duplicate included header
PATCH 1/1 arm64: Remove duplicate included header
The header asm/unistd_compat_32.h is included whether CONFIG_COMPAT is defined or not.
Include it only once and remove the following make includecheck warning:
asm/unistd_compat_32.h is included more than once
--- arch/arm64/include/asm/seccomp.h | 1 - 1 file changed, 1 deletion(-)
arch/arm64/include/asm/seccomp.h +0 -1
@@ -23,7 +23,6 @@#define SECCOMP_ARCH_NATIVE_NR NR_syscalls#define SECCOMP_ARCH_NATIVE_NAME "aarch64"#ifdef CONFIG_COMPAT -#include <asm/unistd_compat_32.h> # define SECCOMP_ARCH_COMPAT AUDIT_ARCH_ARM# define SECCOMP_ARCH_COMPAT_NR __NR_compat32_syscalls# define SECCOMP_ARCH_COMPAT_NAME "arm"
Signature · 1 line
2.47.1
Quoted 8 lines · Thorsten Blum
The header
asm/unistd_compat_32.his included whetherCONFIG_COMPATis defined or not.Include it only once and remove the following make includecheck warning:
asm/unistd_compat_32.his included more than onceSigned-off-by Thorsten Blum <[email protected]>
Quoted 8 lines · Thorsten Blum
The header
asm/unistd_compat_32.his included whetherCONFIG_COMPATis defined or not.Include it only once and remove the following make includecheck warning:
asm/unistd_compat_32.his included more than once[...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: Remove duplicate included header
https://git.kernel.org/arm64/c/965e9bbe025e
Cheers,
Signature · 5 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev