eeh_pseries.c:undefined reference to `eeh_pe_inject_mmio_error'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 7083504315d64199a329de322fce989e1e10f4f7 commit: b0e2b828dfca645a228f8c89d12fbc2baecfb7ea [10289/12187] powerpc/pseries/eeh: Fix pseries_eeh_err_inject config: powerpc64-randconfig-003-20231031 (https://download.01.org/0day-ci/archive/20240917/[email protected]/config) compiler: powerpc64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240917/[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 >>):
powerpc64-linux-ld: arch/powerpc/platforms/pseries/eeh_pseries.o: in function `pseries_eeh_err_inject':
>> eeh_pseries.c:(.text+0x9d0): undefined reference to `eeh_pe_inject_mmio_error'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 7083504315d64199a329de322fce989e1e10f4f7 commit: b0e2b828dfca645a228f8c89d12fbc2baecfb7ea [10289/12187] powerpc/pseries/eeh: Fix pseries_eeh_err_inject config: powerpc64-randconfig-003-20231031 (https://download.01.org/0day-ci/archive/20240917/[email protected]/config) compiler: powerpc64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240917/[email protected]/reproduce)
Quoted 9 lines
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 >>):
powerpc64-linux-ld:
arch/powerpc/platforms/pseries/eeh_pseries.o: in function `pseries_eeh_err_inject':Quoted 1 line
Quoted 1 line
eeh_pseries.c:(.text+0x9d0): undefined reference to `eeh_pe_inject_mmio_error'
Cause by CONFIG_DEBUG_FS=n.
Looks like eeh_debugfs_break_device() needs to be moved out of the #ifdef CONFIG_DEBUG_FS block, and renamed.
cheers
Quoted 15 lines · Michael Ellerman
Quoted 14 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 7083504315d64199a329de322fce989e1e10f4f7 commit: b0e2b828dfca645a228f8c89d12fbc2baecfb7ea [10289/12187] powerpc/pseries/eeh: Fix pseries_eeh_err_inject config: powerpc64-randconfig-003-20231031 (https://download.01.org/0day-ci/archive/20240917/[email protected]/config) compiler: powerpc64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240917/[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 >>):
Quoted 8 lines
Quoted 2 lines
powerpc64-linux-ld:
arch/powerpc/platforms/pseries/eeh_pseries.o: in function `pseries_eeh_err_inject':Quoted 1 line
Quoted 1 line
eeh_pseries.c:(.text+0x9d0): undefined reference to `eeh_pe_inject_mmio_error'
Cause by
CONFIG_DEBUG_FS=n.Looks like
eeh_debugfs_break_device()needs to be moved out of the #ifdefCONFIG_DEBUG_FSblock, and renamed.cheers
yes Michael Ellerman, it is fixed by new patch https://lore.kernel.org/all/[email protected]/ .
regards,
Narayana Murty