tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git pending-5.10 head: b148aaebca942e2fd79492a162e3b7b1f99cff6a commit: 2f0ae9390e9939879900db53c0cbdcb224fe29f1 [45/282] ARM: 9109/1: oabi-compat: add epoll_pwait handler config: arm-randconfig-c002-20210919 (attached as .config) compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=2f0ae9390e9939879900db53c0cbdcb224fe29f1 git remote add sashal-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git git fetch --no-tags sashal-stable pending-5.10 git checkout 2f0ae9390e9939879900db53c0cbdcb224fe29f1 # 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=arm SHELL=/bin/bash arch/arm/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/arm/kernel/sys_oabi-compat.c:142:17: warning: no previous prototype for 'sys_oabi_stat64' [-Wmissing-prototypes] 142 | asmlinkage long sys_oabi_stat64(const char __user * filename, | ^~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:152:17: warning: no previous prototype for 'sys_oabi_lstat64' [-Wmissing-prototypes] 152 | asmlinkage long sys_oabi_lstat64(const char __user * filename, | ^~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:162:17: warning: no previous prototype for 'sys_oabi_fstat64' [-Wmissing-prototypes] 162 | asmlinkage long sys_oabi_fstat64(unsigned long fd, | ^~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:172:17: warning: no previous prototype for 'sys_oabi_fstatat64' [-Wmissing-prototypes] 172 | asmlinkage long sys_oabi_fstatat64(int dfd, | ^~~~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:229:17: warning: no previous prototype for 'sys_oabi_fcntl64' [-Wmissing-prototypes] 229 | asmlinkage long sys_oabi_fcntl64(unsigned int fd, unsigned int cmd, | ^~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:252:17: warning: no previous prototype for 'sys_oabi_epoll_ctl' [-Wmissing-prototypes] 252 | asmlinkage long sys_oabi_epoll_ctl(int epfd, int op, int fd, | ^~~~~~~~~~~~~~~~~~ >> arch/arm/kernel/sys_oabi-compat.c:347:2: error: #endif without #if 347 | #endif | ^~~~~ arch/arm/kernel/sys_oabi-compat.c:356:17: warning: no previous prototype for 'sys_oabi_semtimedop' [-Wmissing-prototypes] 356 | asmlinkage long sys_oabi_semtimedop(int semid, | ^~~~~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:399:17: warning: no previous prototype for 'sys_oabi_semop' [-Wmissing-prototypes] 399 | asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, | ^~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:405:16: warning: no previous prototype for 'sys_oabi_ipc' [-Wmissing-prototypes] 405 | asmlinkage int sys_oabi_ipc(uint call, int first, int second, int third, | ^~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:423:17: warning: no previous prototype for 'sys_oabi_bind' [-Wmissing-prototypes] 423 | asmlinkage long sys_oabi_bind(int fd, struct sockaddr __user *addr, int addrlen) | ^~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:433:17: warning: no previous prototype for 'sys_oabi_connect' [-Wmissing-prototypes] 433 | asmlinkage long sys_oabi_connect(int fd, struct sockaddr __user *addr, int addrlen) | ^~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:443:17: warning: no previous prototype for 'sys_oabi_sendto' [-Wmissing-prototypes] 443 | asmlinkage long sys_oabi_sendto(int fd, void __user *buff, | ^~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:456:17: warning: no previous prototype for 'sys_oabi_sendmsg' [-Wmissing-prototypes] 456 | asmlinkage long sys_oabi_sendmsg(int fd, struct user_msghdr __user *msg, unsigned flags) | ^~~~~~~~~~~~~~~~ arch/arm/kernel/sys_oabi-compat.c:482:17: warning: no previous prototype for 'sys_oabi_socketcall' [-Wmissing-prototypes] 482 | asmlinkage long sys_oabi_socketcall(int call, unsigned long __user *args) | ^~~~~~~~~~~~~~~~~~~ vim +347 arch/arm/kernel/sys_oabi-compat.c 322 323 /* 324 * Implement the event wait interface for the eventpoll file. It is the kernel 325 * part of the user space epoll_pwait(2). 326 */ 327 SYSCALL_DEFINE6(oabi_epoll_pwait, int, epfd, 328 struct oabi_epoll_event __user *, events, int, maxevents, 329 int, timeout, const sigset_t __user *, sigmask, 330 size_t, sigsetsize) 331 { 332 int error; 333 334 /* 335 * If the caller wants a certain signal mask to be set during the wait, 336 * we apply it here. 337 */ 338 error = set_user_sigmask(sigmask, sigsetsize); 339 if (error) 340 return error; 341 342 error = do_oabi_epoll_wait(epfd, events, maxevents, timeout); 343 restore_saved_sigmask_unless(error == -EINTR); 344 345 return error; 346 } > 347 #endif 348 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org