include/linux/kexec_handover.h:129:1: error: expected identifier or '('

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/intel-lab-lkp/linux/commits/Pratyush-Yadav/kho-generalize-radix-tree-APIs/20260710-014638
head:   a4ac1827ac09b0b27fd42c9776b5f5bae67530c8
commit: ff640ad9350077a3af2482f69c1e34ee82daeaa2 mm/mm_init: don't rely on memblock to get KHO scratch migratetype
date:   6 days ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260715/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260715/[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 errors (new ones prefixed by >>):

   In file included from mm/mm_init.c:33:
>> include/linux/kexec_handover.h:129:1: error: expected identifier or '('
     129 | {
         | ^
   1 error generated.


vim +129 include/linux/kexec_handover.h

   126	
   127	static inline void kho_init_scratch_migratetype(unsigned long start_pfn,
   128							unsigned long end_pfn);
 > 129	{
   130	}
   131	#endif /* CONFIG_KEXEC_HANDOVER */
   132	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.