[agraf-2.6:kvm-kho-gmem-test 5/27] include/linux/kexec.h:537:42: warning: 'struct kimage' declared inside parameter list will not be visible outside of this definition or declaration
kernel test robot <[email protected]> Sun, 5 May 2024 01:38:46 +0800
| Newsgroups | org.kernel.vger.kvm-ppc,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
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: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20240505/[email protected]/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240505/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): In file included from kernel/panic.c:25: >> include/linux/kexec.h:537:42: warning: 'struct kimage' declared inside parameter list will not be visible outside of this definition or declaration 537 | static inline int kho_fill_kimage(struct kimage *image) { return 0; } | ^~~~~~ 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