Hi André, kernel test robot noticed the following build errors: [auto build test ERROR on tip/locking/core] [also build test ERROR on linus/master v6.11-rc6 next-20240830] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/selftests-futex-Create-test-for-robust-list/20240830-023631 base: tip/locking/core patch link: https://lore.kernel.org/r/20240829183509.446934-1-andrealmeid%40igalia.com patch subject: [PATCH] selftests/futex: Create test for robust list :::::: branch date: 3 days ago :::::: commit date: 3 days ago compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240901/202409012132.wVaYZ660-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/r/202409012132.wVaYZ660-lkp@xxxxxxxxx/ All error/warnings (new ones prefixed by >>): robust_list.c: In function 'futex2_wait': >> robust_list.c:53:24: error: 'SYS_futex_wait' undeclared (first use in this function); did you mean 'SYS_futex_waitv'? 53 | return syscall(SYS_futex_wait, futex, val, ~0U, FUTEX2_SIZE_U32, timo, CLOCK_MONOTONIC); | ^~~~~~~~~~~~~~ | SYS_futex_waitv robust_list.c:53:24: note: each undeclared identifier is reported only once for each function it appears in >> robust_list.c:54:1: warning: control reaches end of non-void function [-Wreturn-type] 54 | } | ^ vim +53 tools/testing/selftests/futex/functional/robust_list.c 3306ef10715f1b André Almeida 2024-08-29 50 3306ef10715f1b André Almeida 2024-08-29 51 int futex2_wait(void *futex, int val, struct timespec *timo) 3306ef10715f1b André Almeida 2024-08-29 52 { 3306ef10715f1b André Almeida 2024-08-29 @53 return syscall(SYS_futex_wait, futex, val, ~0U, FUTEX2_SIZE_U32, timo, CLOCK_MONOTONIC); 3306ef10715f1b André Almeida 2024-08-29 54 } 3306ef10715f1b André Almeida 2024-08-29 55 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki