* [agraf-2.6:kvm-kho-gmem-test 5/27] include/linux/kexec.h:537:42: warning: declaration of 'struct kimage' will not be visible outside of this function
@ 2024-05-04 18:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-04 18:01 UTC (permalink / raw)
To: Alexander Graf; +Cc: llvm, oe-kbuild-all, kvm-ppc
tree: https://github.com/agraf/linux-2.6.git kvm-kho-gmem-test
head: 9a58862a298a63bad21d05191e28b857063bb9dc
commit: 4d945e934565554b4f997c57162e833303f56cb0 [5/27] kexec: Add KHO support to kexec file loads
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20240505/202405050113.Kgjow73K-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 37ae4ad0eef338776c7e2cffb3896153d43dcd90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240505/202405050113.Kgjow73K-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/202405050113.Kgjow73K-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/panic.c:15:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2208:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from kernel/panic.c:25:
>> include/linux/kexec.h:537:42: warning: declaration of 'struct kimage' will not be visible outside of this function [-Wvisibility]
537 | static inline int kho_fill_kimage(struct kimage *image) { return 0; }
| ^
2 warnings generated.
vim +537 include/linux/kexec.h
534
535 /* egest handover metadata */
536 static inline void kho_reserve_scratch(void) { }
> 537 static inline int kho_fill_kimage(struct kimage *image) { return 0; }
538 static inline int register_kho_notifier(struct notifier_block *nb) { return -EINVAL; }
539 static inline int unregister_kho_notifier(struct notifier_block *nb) { return -EINVAL; }
540 static inline bool kho_is_active(void) { return false; }
541 #endif
542
--
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:[~2024-05-04 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-04 18:01 [agraf-2.6:kvm-kho-gmem-test 5/27] include/linux/kexec.h:537:42: warning: declaration of 'struct kimage' 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