lkml.org 
[lkml]   [2021]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[oracle-dtrace:v1/5.15 16/35] include/uapi/asm-generic/unistd.h:884:24: error: 'sys_waitfd' undeclared here (not in a function); did you mean 'sys_waitid'?
tree:   https://github.com/oracle/dtrace-linux-kernel v1/5.15
head: 0fee66d7ce96317146609675767971d0f35c3e74
commit: 0fd5e3924d69c1dc81e7c875fc9889b52c50248e [16/35] waitfd: new syscall implementing waitpid() over fds
config: nios2-defconfig (attached as .config)
compiler: nios2-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/0fd5e3924d69c1dc81e7c875fc9889b52c50248e
git remote add oracle-dtrace https://github.com/oracle/dtrace-linux-kernel
git fetch --no-tags oracle-dtrace v1/5.15
git checkout 0fd5e3924d69c1dc81e7c875fc9889b52c50248e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 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:884:24: error: 'sys_waitfd' undeclared here (not in a function); did you mean 'sys_waitid'?
884 | __SYSCALL(__NR_waitfd, sys_waitfd)
| ^~~~~~~~~~
arch/nios2/kernel/syscall_table.c:13:37: note: in definition of macro '__SYSCALL'
13 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~~~


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

882
883 #define __NR_waitfd 473
> 884 __SYSCALL(__NR_waitfd, sys_waitfd)
885

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-09 01:05    [W:0.055 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site