From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-arch@vger.kernel.org
Subject: [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
Date: Thu, 18 Jul 2024 07:58:03 +0800 [thread overview]
Message-ID: <202407180723.rk3cGZ41-lkp@intel.com> (raw)
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
reply other threads:[~2024-07-17 23:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202407180723.rk3cGZ41-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=linux-arch@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox