From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'?
Date: Thu, 03 Feb 2022 10:39:37 +0800 [thread overview]
Message-ID: <202202030948.BprVzIKX-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 9850 bytes --]
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(a)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(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Nick Alcock <nick.alcock@oracle.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Kris Van Hees <kris.van.hees@oracle.com>,
Tomas Jedlicka <tomas.jedlicka@oracle.com>,
Eugene Loh <eugene.loh@oracle.com>,
David Mc Lean <david.mclean@oracle.com>,
Vincent Lim <vincent.lim@oracle.com>
Subject: [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'?
Date: Thu, 3 Feb 2022 10:39:37 +0800 [thread overview]
Message-ID: <202202030948.BprVzIKX-lkp@intel.com> (raw)
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
next reply other threads:[~2022-02-03 2:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-03 2:39 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202202030948.BprVzIKX-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.