* [tip:tmp.tmp2 176/364] include/linux/coredump.h:37:45: warning: 'struct kernel_siginfo' declared inside parameter list will not be visible outside of this definition or declaration
@ 2021-06-13 20:49 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-13 20:49 UTC (permalink / raw)
To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, x86
[-- Attachment #1: Type: text/plain, Size: 2458 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp2
head: adcceb5eb7aee38e4a9c15bdf599655f0e1b1324
commit: be65473fb5b77d57d8955beffd5aa370cfdae467 [176/364] sched/headers, rcu: Remove <linux/sched/signal.h> dependency from <linux/rcuwait.h>
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=be65473fb5b77d57d8955beffd5aa370cfdae467
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip tmp.tmp2
git checkout be65473fb5b77d57d8955beffd5aa370cfdae467
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 arch/x86/events/intel/bts.c:16:
>> include/linux/coredump.h:37:45: warning: 'struct kernel_siginfo' declared inside parameter list will not be visible outside of this definition or declaration
37 | static inline void do_coredump(const struct kernel_siginfo *siginfo) {}
| ^~~~~~~~~~~~~~
vim +37 include/linux/coredump.h
19
20 /*
21 * These are the only things you should do on a core-file: use only these
22 * functions to write out all the necessary info.
23 */
24 struct coredump_params;
25 struct kernel_siginfo;
26 extern void dump_skip_to(struct coredump_params *cprm, unsigned long to);
27 extern void dump_skip(struct coredump_params *cprm, size_t nr);
28 extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
29 extern int dump_align(struct coredump_params *cprm, int align);
30 int dump_user_range(struct coredump_params *cprm, unsigned long start,
31 unsigned long len);
32 int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count,
33 struct core_vma_metadata **vma_meta,
34 size_t *vma_data_size_ptr);
35 extern void do_coredump(const struct kernel_siginfo *siginfo);
36 #else
> 37 static inline void do_coredump(const struct kernel_siginfo *siginfo) {}
38 #endif
39
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 7417 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:tmp.tmp2 176/364] include/linux/coredump.h:37:45: warning: 'struct kernel_siginfo' declared inside parameter list will not be visible outside of this definition or declaration
@ 2021-06-13 20:49 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-13 20:49 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp2
head: adcceb5eb7aee38e4a9c15bdf599655f0e1b1324
commit: be65473fb5b77d57d8955beffd5aa370cfdae467 [176/364] sched/headers, rcu: Remove <linux/sched/signal.h> dependency from <linux/rcuwait.h>
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=be65473fb5b77d57d8955beffd5aa370cfdae467
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip tmp.tmp2
git checkout be65473fb5b77d57d8955beffd5aa370cfdae467
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 arch/x86/events/intel/bts.c:16:
>> include/linux/coredump.h:37:45: warning: 'struct kernel_siginfo' declared inside parameter list will not be visible outside of this definition or declaration
37 | static inline void do_coredump(const struct kernel_siginfo *siginfo) {}
| ^~~~~~~~~~~~~~
vim +37 include/linux/coredump.h
19
20 /*
21 * These are the only things you should do on a core-file: use only these
22 * functions to write out all the necessary info.
23 */
24 struct coredump_params;
25 struct kernel_siginfo;
26 extern void dump_skip_to(struct coredump_params *cprm, unsigned long to);
27 extern void dump_skip(struct coredump_params *cprm, size_t nr);
28 extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
29 extern int dump_align(struct coredump_params *cprm, int align);
30 int dump_user_range(struct coredump_params *cprm, unsigned long start,
31 unsigned long len);
32 int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count,
33 struct core_vma_metadata **vma_meta,
34 size_t *vma_data_size_ptr);
35 extern void do_coredump(const struct kernel_siginfo *siginfo);
36 #else
> 37 static inline void do_coredump(const struct kernel_siginfo *siginfo) {}
38 #endif
39
---
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: 7417 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-13 20:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-13 20:49 [tip:tmp.tmp2 176/364] include/linux/coredump.h:37:45: warning: 'struct kernel_siginfo' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
2021-06-13 20:49 ` kernel test robot
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.