linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-nonmm-unstable 82/133] include/linux/kexec_handover.h:108:7: warning: no previous prototype for 'kho_alloc_preserve'
@ 2025-11-15 19:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-15 19:17 UTC (permalink / raw)
  To: Pasha Tatashin
  Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
	Mike Rapoport (Microsoft),
	Pratyush Yadav

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head:   4fc88c237bfe11bde443e104428aac56e63a997f
commit: 88316955b5b1b4cb0cb2fad416f7e8dde9b246a0 [82/133] kho: introduce high-level memory allocation API
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20251116/202511160332.SpHDxf5J-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251116/202511160332.SpHDxf5J-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/202511160332.SpHDxf5J-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from mm/mm_init.c:33:
>> include/linux/kexec_handover.h:108:7: warning: no previous prototype for 'kho_alloc_preserve' [-Wmissing-prototypes]
     108 | void *kho_alloc_preserve(size_t size)
         |       ^~~~~~~~~~~~~~~~~~
>> include/linux/kexec_handover.h:113:6: warning: no previous prototype for 'kho_unpreserve_free' [-Wmissing-prototypes]
     113 | void kho_unpreserve_free(void *mem) { }
         |      ^~~~~~~~~~~~~~~~~~~
>> include/linux/kexec_handover.h:114:6: warning: no previous prototype for 'kho_restore_free' [-Wmissing-prototypes]
     114 | void kho_restore_free(void *mem) { }
         |      ^~~~~~~~~~~~~~~~


vim +/kho_alloc_preserve +108 include/linux/kexec_handover.h

   107	
 > 108	void *kho_alloc_preserve(size_t size)
   109	{
   110		return ERR_PTR(-EOPNOTSUPP);
   111	}
   112	
 > 113	void kho_unpreserve_free(void *mem) { }
 > 114	void kho_restore_free(void *mem) { }
   115	

-- 
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-11-15 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-15 19:17 [akpm-mm:mm-nonmm-unstable 82/133] include/linux/kexec_handover.h:108:7: warning: no previous prototype for 'kho_alloc_preserve' 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