[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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/202405050137.SroddioA-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240505/202405050137.SroddioA-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405050137.SroddioA-lkp@xxxxxxxxx/

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




[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux