tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git syscall-tbl-6.11 head: 9a99991d90521113a738c2a4761a4147fe4b31ca commit: 57f3cf21bbe2d779a7d7a23fb863b4b51d865fdd [80/98] x86: add missing syscall prototypes config: x86_64-buildonly-randconfig-001-20240718 (https://download.01.org/0day-ci/archive/20240718/202407181157.lIOH6oLx-lkp@xxxxxxxxx/config) compiler: gcc-11 (Ubuntu 11.4.0-4ubuntu1) 11.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407181157.lIOH6oLx-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/202407181157.lIOH6oLx-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from drivers/tty/vt/vt_ioctl.c:83: >> arch/x86/include/asm/syscalls.h:27:76: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 27 | asmlinkage long compat_sys_ia32_stat64(const char __user *filename, struct stat64 __user *statbuf); | ^~~~~~ arch/x86/include/asm/syscalls.h:28:77: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 28 | asmlinkage long compat_sys_ia32_lstat64(const char __user *filename, struct stat64 __user *statbuf); | ^~~~~~ arch/x86/include/asm/syscalls.h:29:65: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 29 | asmlinkage long compat_sys_ia32_fstat64(unsigned int fd, struct stat64 __user *statbuf); | ^~~~~~ arch/x86/include/asm/syscalls.h:30:97: warning: 'struct stat64' declared inside parameter list will not be visible outside of this definition or declaration 30 | asmlinkage long compat_sys_ia32_fstatat64(unsigned int dfd, const char __user *filename, struct stat64 __user *statbuf, int flag); | ^~~~~~ vim +27 arch/x86/include/asm/syscalls.h 24 25 asmlinkage long compat_sys_arch_prctl(int option, unsigned long arg2); 26 struct mmap_arg_struct32; > 27 asmlinkage long compat_sys_ia32_stat64(const char __user *filename, struct stat64 __user *statbuf); 28 asmlinkage long compat_sys_ia32_lstat64(const char __user *filename, struct stat64 __user *statbuf); 29 asmlinkage long compat_sys_ia32_fstat64(unsigned int fd, struct stat64 __user *statbuf); 30 asmlinkage long compat_sys_ia32_fstatat64(unsigned int dfd, const char __user *filename, struct stat64 __user *statbuf, int flag); 31 asmlinkage long compat_sys_ia32_mmap(struct mmap_arg_struct32 __user *arg); 32 asmlinkage long compat_sys_ia32_clone(unsigned long clone_flags, unsigned long newsp, int __user *parent_tidptr, unsigned long tls_val, int __user *child_tidptr); 33 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki