Re: [hnaz-linux-mm:master 196/224] include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Jun 2020 06:37:08 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:

> tree:   https://github.com/hnaz/linux-mm master
> head:   40d47c26669bdbaa1062e636371a4bf4f9b6f0e5
> commit: 25003a4287763edd30991a6b03e15d1c8d434565 [196/224] mm/madvise: introduce process_madvise() syscall: an external memory hinting API
> config: c6x-randconfig-c023-20200624 (attached as .config)
> compiler: c6x-elf-gcc (GCC) 9.3.0
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All warnings (new ones prefixed by >>):
> 
>    In file included from arch/c6x/include/uapi/asm/unistd.h:25,
>                     from include/uapi/linux/unistd.h:8,
>                     from arch/c6x/kernel/asm-offsets.c:12:
> >> include/uapi/asm-generic/unistd.h:868: warning: "__NR_fsinfo" redefined

Thanks.

--- a/include/uapi/asm-generic/unistd.h~mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix-2
+++ a/include/uapi/asm-generic/unistd.h
@@ -865,7 +865,7 @@ __SYSCALL(__NR_watch_mount, sys_watch_mo
 __SYSCALL(__NR_watch_sb, sys_watch_sb)
 #define __NR_fsinfo 442
 __SYSCALL(__NR_fsinfo, sys_fsinfo)
-#define __NR_fsinfo 443
+#define __NR_process_madvise 443
 __SC_COMP(__NR_process_madvise, sys_process_madvise, compat_sys_process_madvise)
 
 #undef __NR_syscalls
_





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux