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-allnoconfig (https://download.01.org/0day-ci/archive/20240718/202407180723.rk3cGZ41-lkp@xxxxxxxxx/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407180723.rk3cGZ41-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/202407180723.rk3cGZ41-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: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] 27 | asmlinkage long compat_sys_ia32_stat64(const char __user *filename, struct stat64 __user *statbuf); | ^ arch/x86/include/asm/syscalls.h:28:77: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] 28 | asmlinkage long compat_sys_ia32_lstat64(const char __user *filename, struct stat64 __user *statbuf); | ^ arch/x86/include/asm/syscalls.h:29:65: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] 29 | asmlinkage long compat_sys_ia32_fstat64(unsigned int fd, struct stat64 __user *statbuf); | ^ arch/x86/include/asm/syscalls.h:30:97: warning: declaration of 'struct stat64' will not be visible outside of this function [-Wvisibility] 30 | asmlinkage long compat_sys_ia32_fstatat64(unsigned int dfd, const char __user *filename, struct stat64 __user *statbuf, int flag); | ^ 4 warnings generated. 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