public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [oracle-dtrace:v2/5.17-rc2 8/10] include/uapi/asm-generic/unistd.h:889:24: error: 'sys_waitfd' undeclared here (not in a function); did you mean 'sys_waitid'?
@ 2022-02-03  2:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-03  2:39 UTC (permalink / raw)
  To: Nick Alcock
  Cc: kbuild-all, linux-kernel, Kris Van Hees, Tomas Jedlicka,
	Eugene Loh, David Mc Lean, Vincent Lim

tree:   https://github.com/oracle/dtrace-linux-kernel v2/5.17-rc2
head:   28b391e36df8679828aedd18dae0ee5526512d4d
commit: 83f02cf9b0ce18b6a27d34c6a25933791779e807 [8/10] waitfd: new syscall implementing waitpid() over fds
config: nds32-allnoconfig (https://download.01.org/0day-ci/archive/20220203/202202030948.BprVzIKX-lkp@intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/oracle/dtrace-linux-kernel/commit/83f02cf9b0ce18b6a27d34c6a25933791779e807
        git remote add oracle-dtrace https://github.com/oracle/dtrace-linux-kernel
        git fetch --no-tags oracle-dtrace v2/5.17-rc2
        git checkout 83f02cf9b0ce18b6a27d34c6a25933791779e807
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

         |                                     ^~~~~~~~~
   include/uapi/asm-generic/unistd.h:863:1: note: in expansion of macro '__SC_COMP'
     863 | __SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:865:1: note: in expansion of macro '__SYSCALL'
     865 | __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[442]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:865:1: note: in expansion of macro '__SYSCALL'
     865 | __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:867:1: note: in expansion of macro '__SYSCALL'
     867 | __SYSCALL(__NR_quotactl_fd, sys_quotactl_fd)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[443]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:867:1: note: in expansion of macro '__SYSCALL'
     867 | __SYSCALL(__NR_quotactl_fd, sys_quotactl_fd)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:870:1: note: in expansion of macro '__SYSCALL'
     870 | __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[444]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:870:1: note: in expansion of macro '__SYSCALL'
     870 | __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:872:1: note: in expansion of macro '__SYSCALL'
     872 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[445]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:872:1: note: in expansion of macro '__SYSCALL'
     872 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:874:1: note: in expansion of macro '__SYSCALL'
     874 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[446]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:874:1: note: in expansion of macro '__SYSCALL'
     874 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:881:1: note: in expansion of macro '__SYSCALL'
     881 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[448]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:881:1: note: in expansion of macro '__SYSCALL'
     881 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:884:1: note: in expansion of macro '__SYSCALL'
     884 | __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[449]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:884:1: note: in expansion of macro '__SYSCALL'
     884 | __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:887:1: note: in expansion of macro '__SYSCALL'
     887 | __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[450]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:887:1: note: in expansion of macro '__SYSCALL'
     887 | __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
         | ^~~~~~~~~
>> include/uapi/asm-generic/unistd.h:889:24: error: 'sys_waitfd' undeclared here (not in a function); did you mean 'sys_waitid'?
     889 | __SYSCALL(__NR_waitfd, sys_waitfd)
         |                        ^~~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:37: note: in definition of macro '__SYSCALL'
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                     ^~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:15:1: note: in expansion of macro '__SYSCALL'
      15 | __SYSCALL(__NR_cacheflush, sys_cacheflush)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[244]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:15:1: note: in expansion of macro '__SYSCALL'
      15 | __SYSCALL(__NR_cacheflush, sys_cacheflush)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:16:1: note: in expansion of macro '__SYSCALL'
      16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[245]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:16:1: note: in expansion of macro '__SYSCALL'
      16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
         | ^~~~~~~~~


vim +889 include/uapi/asm-generic/unistd.h

   885	
   886	#define __NR_set_mempolicy_home_node 450
   887	__SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
   888	#define __NR_waitfd 473
 > 889	__SYSCALL(__NR_waitfd, sys_waitfd)
   890	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-03  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-03  2:39 [oracle-dtrace:v2/5.17-rc2 8/10] include/uapi/asm-generic/unistd.h:889:24: error: 'sys_waitfd' undeclared here (not in a function); did you mean 'sys_waitid'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox