[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202106140441.qO5PdKhx-lkp@intel.com>
Date: Mon, 14 Jun 2021 04:49:44 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: [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
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (7417 bytes)
Powered by blists - more mailing lists