* [rppt:kho/v4 7/13] kernel/kexec_internal.h:48:46: warning: declaration of 'struct kexec_buf' will not be visible outside of this function
@ 2025-02-04 13:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-04 13:45 UTC (permalink / raw)
To: Alexander Graf; +Cc: llvm, oe-kbuild-all, Mike Rapoport
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git kho/v4
head: a75b813f58b0bc19b2c4b06bd62afc87f02dcb43
commit: 4a9f36010eba44853b3c9bb721a4a5f4319dc370 [7/13] kexec: Add KHO support to kexec file loads
config: i386-buildonly-randconfig-003-20250204 (https://download.01.org/0day-ci/archive/20250204/202502042126.zNJDFdI3-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250204/202502042126.zNJDFdI3-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/202502042126.zNJDFdI3-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/vmcore_info.c:24:
>> kernel/kexec_internal.h:48:46: warning: declaration of 'struct kexec_buf' will not be visible outside of this function [-Wvisibility]
48 | static inline int kho_locate_mem_hole(struct kexec_buf *kbuf,
| ^
1 warning generated.
vim +48 kernel/kexec_internal.h
42
43 #ifdef CONFIG_KEXEC_HANDOVER
44 int kho_locate_mem_hole(struct kexec_buf *kbuf,
45 int (*func)(struct resource *, void *));
46 int kho_fill_kimage(struct kimage *image);
47 #else
> 48 static inline int kho_locate_mem_hole(struct kexec_buf *kbuf,
49 int (*func)(struct resource *, void *))
50 {
51 return 0;
52 }
53
--
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:[~2025-02-04 13:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 13:45 [rppt:kho/v4 7/13] kernel/kexec_internal.h:48:46: warning: declaration of 'struct kexec_buf' 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