linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [arnd-asm-generic:syscall-tbl-6.11 80/98] arch/x86/include/asm/syscalls.h:27:76: warning: declaration of 'struct stat64' will not be visible outside of this function
@ 2024-07-17 23:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-17 23:58 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: llvm, oe-kbuild-all, linux-arch

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407180723.rk3cGZ41-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-17 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 23:58 [arnd-asm-generic:syscall-tbl-6.11 80/98] arch/x86/include/asm/syscalls.h:27:76: warning: declaration of 'struct stat64' will not be visible outside of this function kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).