arch/arm64/kernel/machine_kexec_file.c:106:11: error: no member named 'elfcorehdr_index' in 'struct kimage'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild
Message-ID <[email protected]>
:::::: 
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Jinjie-Ruan/kexec-Extract-kexec_free_segment_cma-from-kimage_free_cma/20260811-191927, commit: 636a631bfe0bf9899ded5fdcef1717e8ed499c76"
:::::: 

BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Jinjie Ruan <[email protected]>
CC: 0day robot <[email protected]>

tree:   https://github.com/intel-lab-lkp/linux/commits/Jinjie-Ruan/kexec-Extract-kexec_free_segment_cma-from-kimage_free_cma/20260811-191927
head:   636a631bfe0bf9899ded5fdcef1717e8ed499c76
commit: 636a631bfe0bf9899ded5fdcef1717e8ed499c76 arm64: crash: Add crash hotplug support
date:   21 hours ago
:::::: branch date: 21 hours ago
:::::: commit date: 21 hours ago
config: arm64-randconfig-002-20260812 (https://download.01.org/0day-ci/archive/20260812/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260812/[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/r/[email protected]/

All errors (new ones prefixed by >>):

>> arch/arm64/kernel/machine_kexec_file.c:106:11: error: no member named 'elfcorehdr_index' in 'struct kimage'
     106 |                         image->elfcorehdr_index = image->nr_segments - 1;
         |                         ~~~~~  ^
   1 error generated.


vim +106 arch/arm64/kernel/machine_kexec_file.c

4451045951624f Jinjie Ruan     2026-07-29   95  
3751e728cef290 AKASHI Takahiro 2019-12-16   96  		kbuf.mem = KEXEC_BUF_MEM_UNKNOWN;
3751e728cef290 AKASHI Takahiro 2019-12-16   97  		kbuf.buf_align = SZ_64K; /* largest supported page size */
3751e728cef290 AKASHI Takahiro 2019-12-16   98  		kbuf.buf_max = ULONG_MAX;
3751e728cef290 AKASHI Takahiro 2019-12-16   99  		kbuf.top_down = true;
3751e728cef290 AKASHI Takahiro 2019-12-16  100  
3751e728cef290 AKASHI Takahiro 2019-12-16  101  		ret = kexec_add_buffer(&kbuf);
4451045951624f Jinjie Ruan     2026-07-29  102  		if (ret)
3751e728cef290 AKASHI Takahiro 2019-12-16  103  			goto out_err;
728f736222b0ac Jinjie Ruan     2026-07-29  104  
636a631bfe0bf9 Jinjie Ruan     2026-07-29  105  		if (IS_ENABLED(CONFIG_CRASH_HOTPLUG) && pnum < PN_XNUM)
636a631bfe0bf9 Jinjie Ruan     2026-07-29 @106  			image->elfcorehdr_index = image->nr_segments - 1;

--
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.