| From: Yang Li <yang.lee@linux.alibaba.com> |
| Subject: kernel/time/posix-stubs.c: remove duplicated include |
| Date: Thu, 8 Jun 2023 16:23:12 +0800 |
| |
| ./kernel/time/posix-stubs.c: linux/syscalls.h is included more than once. |
| |
| Link: https://lkml.kernel.org/r/20230608082312.123939-1-yang.lee@linux.alibaba.com |
| Reported-by: Abaci Robot <abaci@linux.alibaba.com> |
| Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5463 |
| Fixes: c1956519cd7e ("syscalls: add sys_ni_posix_timers prototype") |
| Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> |
| Cc: Arnd Bergmann <arnd@arndb.de> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| kernel/time/posix-stubs.c | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- a/kernel/time/posix-stubs.c~kernel-remove-duplicated-include-in-posix-stubsc |
| +++ a/kernel/time/posix-stubs.c |
| @@ -16,7 +16,6 @@ |
| #include <linux/posix-timers.h> |
| #include <linux/time_namespace.h> |
| #include <linux/compat.h> |
| -#include <linux/syscalls.h> |
| |
| #ifdef CONFIG_ARCH_HAS_SYSCALL_WRAPPER |
| /* Architectures may override SYS_NI and COMPAT_SYS_NI */ |
| _ |