tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git syscall-fixes-6.10 head: f2548a9d6019f7ab1106a16893d65dea09b8909a commit: a8b9dba1b47c8547c274255de3fe60e02f118fc6 [2/13] syscalls: fix compat_sys_io_pgetevents_time64 usage config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240625/202406250701.m5Umu4IL-lkp@xxxxxxxxx/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240625/202406250701.m5Umu4IL-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/oe-kbuild-all/202406250701.m5Umu4IL-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from arch/openrisc/include/uapi/asm/unistd.h:30, from <stdin>:2: >> include/uapi/asm-generic/unistd.h:740:88: error: macro "__SYSCALL" passed 3 arguments, but takes just 2 740 | __SYSCALL(__NR_io_pgetevents_time64, sys_io_pgetevents, compat_sys_io_pgetevents_time64) | ^ include/uapi/asm-generic/unistd.h:16: note: macro "__SYSCALL" defined here 16 | #define __SYSCALL(x, y) | make[3]: *** [./Kbuild:44: missing-syscalls] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1208: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/__SYSCALL +740 include/uapi/asm-generic/unistd.h 713 714 #if defined(__SYSCALL_COMPAT) || __BITS_PER_LONG == 32 715 #define __NR_clock_gettime64 403 716 __SYSCALL(__NR_clock_gettime64, sys_clock_gettime) 717 #define __NR_clock_settime64 404 718 __SYSCALL(__NR_clock_settime64, sys_clock_settime) 719 #define __NR_clock_adjtime64 405 720 __SYSCALL(__NR_clock_adjtime64, sys_clock_adjtime) 721 #define __NR_clock_getres_time64 406 722 __SYSCALL(__NR_clock_getres_time64, sys_clock_getres) 723 #define __NR_clock_nanosleep_time64 407 724 __SYSCALL(__NR_clock_nanosleep_time64, sys_clock_nanosleep) 725 #define __NR_timer_gettime64 408 726 __SYSCALL(__NR_timer_gettime64, sys_timer_gettime) 727 #define __NR_timer_settime64 409 728 __SYSCALL(__NR_timer_settime64, sys_timer_settime) 729 #define __NR_timerfd_gettime64 410 730 __SYSCALL(__NR_timerfd_gettime64, sys_timerfd_gettime) 731 #define __NR_timerfd_settime64 411 732 __SYSCALL(__NR_timerfd_settime64, sys_timerfd_settime) 733 #define __NR_utimensat_time64 412 734 __SYSCALL(__NR_utimensat_time64, sys_utimensat) 735 #define __NR_pselect6_time64 413 736 __SC_COMP(__NR_pselect6_time64, sys_pselect6, compat_sys_pselect6_time64) 737 #define __NR_ppoll_time64 414 738 __SC_COMP(__NR_ppoll_time64, sys_ppoll, compat_sys_ppoll_time64) 739 #define __NR_io_pgetevents_time64 416 > 740 __SYSCALL(__NR_io_pgetevents_time64, sys_io_pgetevents, compat_sys_io_pgetevents_time64) 741 #define __NR_recvmmsg_time64 417 742 __SC_COMP(__NR_recvmmsg_time64, sys_recvmmsg, compat_sys_recvmmsg_time64) 743 #define __NR_mq_timedsend_time64 418 744 __SYSCALL(__NR_mq_timedsend_time64, sys_mq_timedsend) 745 #define __NR_mq_timedreceive_time64 419 746 __SYSCALL(__NR_mq_timedreceive_time64, sys_mq_timedreceive) 747 #define __NR_semtimedop_time64 420 748 __SYSCALL(__NR_semtimedop_time64, sys_semtimedop) 749 #define __NR_rt_sigtimedwait_time64 421 750 __SC_COMP(__NR_rt_sigtimedwait_time64, sys_rt_sigtimedwait, compat_sys_rt_sigtimedwait_time64) 751 #define __NR_futex_time64 422 752 __SYSCALL(__NR_futex_time64, sys_futex) 753 #define __NR_sched_rr_get_interval_time64 423 754 __SYSCALL(__NR_sched_rr_get_interval_time64, sys_sched_rr_get_interval) 755 #endif 756 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki