* [PATCH] arm64: Remove duplicate included header
@ 2025-01-09 10:46 Thorsten Blum
2025-01-09 10:49 ` Arnd Bergmann
2025-01-10 16:22 ` Will Deacon
0 siblings, 2 replies; 3+ messages in thread
From: Thorsten Blum @ 2025-01-09 10:46 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Arnd Bergmann
Cc: Thorsten Blum, linux-arm-kernel, linux-kernel
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
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
arch/arm64/include/asm/seccomp.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/include/asm/seccomp.h b/arch/arm64/include/asm/seccomp.h
index b83975555314..bf6bf40bc5ab 100644
--- a/arch/arm64/include/asm/seccomp.h
+++ b/arch/arm64/include/asm/seccomp.h
@@ -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"
--
2.47.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: Remove duplicate included header
2025-01-09 10:46 [PATCH] arm64: Remove duplicate included header Thorsten Blum
@ 2025-01-09 10:49 ` Arnd Bergmann
2025-01-10 16:22 ` Will Deacon
1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2025-01-09 10:49 UTC (permalink / raw)
To: Thorsten Blum, Catalin Marinas, Will Deacon
Cc: linux-arm-kernel, linux-kernel
On Thu, Jan 9, 2025, at 11:46, Thorsten Blum wrote:
> 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
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: Remove duplicate included header
2025-01-09 10:46 [PATCH] arm64: Remove duplicate included header Thorsten Blum
2025-01-09 10:49 ` Arnd Bergmann
@ 2025-01-10 16:22 ` Will Deacon
1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2025-01-10 16:22 UTC (permalink / raw)
To: Catalin Marinas, Arnd Bergmann, Thorsten Blum
Cc: kernel-team, Will Deacon, linux-arm-kernel, linux-kernel
On Thu, 09 Jan 2025 11:46:34 +0100, Thorsten Blum wrote:
> 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
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: Remove duplicate included header
https://git.kernel.org/arm64/c/965e9bbe025e
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-10 16:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 10:46 [PATCH] arm64: Remove duplicate included header Thorsten Blum
2025-01-09 10:49 ` Arnd Bergmann
2025-01-10 16:22 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).