From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arnd-playground:randconfig-v5.12 323/597] include/linux/compat.h:619:18: warning: 'struct compat_stat' declared inside parameter list will not be visible outside of this definition or declaration
Date: Sat, 20 Mar 2021 00:49:21 +0800 [thread overview]
Message-ID: <202103200010.aLHRPoNV-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6458 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-v5.12
head: fd21c2581b744639b5207c11651ab40abf13701a
commit: c43a5a05c0cd6cc79fa4cf9400d94faf4f663b6f [323/597] fixup warnings
config: sparc64-randconfig-r023-20210318 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.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/arnd/playground.git/commit/?id=c43a5a05c0cd6cc79fa4cf9400d94faf4f663b6f
git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground randconfig-v5.12
git checkout c43a5a05c0cd6cc79fa4cf9400d94faf4f663b6f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/hwtracing/stm/core.c:15:
>> include/linux/compat.h:619:18: warning: 'struct compat_stat' declared inside parameter list will not be visible outside of this definition or declaration
619 | struct compat_stat __user *statbuf,
| ^~~~~~~~~~~
include/linux/compat.h:622:16: warning: 'struct compat_stat' declared inside parameter list will not be visible outside of this definition or declaration
622 | struct compat_stat __user *statbuf);
| ^~~~~~~~~~~
include/linux/compat.h:837:15: warning: 'struct compat_stat' declared inside parameter list will not be visible outside of this definition or declaration
837 | struct compat_stat __user *statbuf);
| ^~~~~~~~~~~
include/linux/compat.h:839:16: warning: 'struct compat_stat' declared inside parameter list will not be visible outside of this definition or declaration
839 | struct compat_stat __user *statbuf);
| ^~~~~~~~~~~
vim +619 include/linux/compat.h
c679a08983db7c1 Dominik Brodowski 2018-03-25 582
c679a08983db7c1 Dominik Brodowski 2018-03-25 583 /* fs/sendfile.c */
c679a08983db7c1 Dominik Brodowski 2018-03-25 584 asmlinkage long compat_sys_sendfile(int out_fd, int in_fd,
c679a08983db7c1 Dominik Brodowski 2018-03-25 585 compat_off_t __user *offset, compat_size_t count);
c679a08983db7c1 Dominik Brodowski 2018-03-25 586 asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd,
c679a08983db7c1 Dominik Brodowski 2018-03-25 587 compat_loff_t __user *offset, compat_size_t count);
c679a08983db7c1 Dominik Brodowski 2018-03-25 588
c679a08983db7c1 Dominik Brodowski 2018-03-25 589 /* fs/select.c */
8dabe7245bbc134 Arnd Bergmann 2019-01-07 590 asmlinkage long compat_sys_pselect6_time32(int n, compat_ulong_t __user *inp,
be84cb43833ee40 Chris Metcalf 2011-05-09 591 compat_ulong_t __user *outp,
be84cb43833ee40 Chris Metcalf 2011-05-09 592 compat_ulong_t __user *exp,
9afc5eee65ca7d7 Arnd Bergmann 2018-07-13 593 struct old_timespec32 __user *tsp,
be84cb43833ee40 Chris Metcalf 2011-05-09 594 void __user *sig);
e024707bccae15a Deepa Dinamani 2018-09-19 595 asmlinkage long compat_sys_pselect6_time64(int n, compat_ulong_t __user *inp,
e024707bccae15a Deepa Dinamani 2018-09-19 596 compat_ulong_t __user *outp,
e024707bccae15a Deepa Dinamani 2018-09-19 597 compat_ulong_t __user *exp,
e024707bccae15a Deepa Dinamani 2018-09-19 598 struct __kernel_timespec __user *tsp,
e024707bccae15a Deepa Dinamani 2018-09-19 599 void __user *sig);
8dabe7245bbc134 Arnd Bergmann 2019-01-07 600 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
be84cb43833ee40 Chris Metcalf 2011-05-09 601 unsigned int nfds,
9afc5eee65ca7d7 Arnd Bergmann 2018-07-13 602 struct old_timespec32 __user *tsp,
be84cb43833ee40 Chris Metcalf 2011-05-09 603 const compat_sigset_t __user *sigmask,
be84cb43833ee40 Chris Metcalf 2011-05-09 604 compat_size_t sigsetsize);
8bd27a3004e80d3 Deepa Dinamani 2018-09-19 605 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
8bd27a3004e80d3 Deepa Dinamani 2018-09-19 606 unsigned int nfds,
8bd27a3004e80d3 Deepa Dinamani 2018-09-19 607 struct __kernel_timespec __user *tsp,
8bd27a3004e80d3 Deepa Dinamani 2018-09-19 608 const compat_sigset_t __user *sigmask,
8bd27a3004e80d3 Deepa Dinamani 2018-09-19 609 compat_size_t sigsetsize);
c679a08983db7c1 Dominik Brodowski 2018-03-25 610
c679a08983db7c1 Dominik Brodowski 2018-03-25 611 /* fs/signalfd.c */
be84cb43833ee40 Chris Metcalf 2011-05-09 612 asmlinkage long compat_sys_signalfd4(int ufd,
be84cb43833ee40 Chris Metcalf 2011-05-09 613 const compat_sigset_t __user *sigmask,
be84cb43833ee40 Chris Metcalf 2011-05-09 614 compat_size_t sigsetsize, int flags);
be84cb43833ee40 Chris Metcalf 2011-05-09 615
c679a08983db7c1 Dominik Brodowski 2018-03-25 616 /* fs/stat.c */
c679a08983db7c1 Dominik Brodowski 2018-03-25 617 asmlinkage long compat_sys_newfstatat(unsigned int dfd,
c679a08983db7c1 Dominik Brodowski 2018-03-25 618 const char __user *filename,
c679a08983db7c1 Dominik Brodowski 2018-03-25 @619 struct compat_stat __user *statbuf,
c679a08983db7c1 Dominik Brodowski 2018-03-25 620 int flag);
c679a08983db7c1 Dominik Brodowski 2018-03-25 621 asmlinkage long compat_sys_newfstat(unsigned int fd,
c679a08983db7c1 Dominik Brodowski 2018-03-25 622 struct compat_stat __user *statbuf);
c679a08983db7c1 Dominik Brodowski 2018-03-25 623
:::::: The code at line 619 was first introduced by commit
:::::: c679a08983db7c1eb09930570b92ff7c9fd59c1c syscalls: sort syscall prototypes in include/linux/compat.h
:::::: TO: Dominik Brodowski <linux@dominikbrodowski.net>
:::::: CC: Dominik Brodowski <linux@dominikbrodowski.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38220 bytes --]
reply other threads:[~2021-03-19 16:49 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=202103200010.aLHRPoNV-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.