tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test head: 2e4a9942261f89ad204a8189634029a4b1f0efb6 commit: 0cad223e88229b1f021f9e167bdb2ba7b0d0c369 [141/145] powerpc/ftrace: Remove ftrace init tramp once kernel init is complete config: powerpc-buildonly-randconfig-r005-20220516 (https://download.01.org/0day-ci/archive/20220518/202205180129.raxtjqf6-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=0cad223e88229b1f021f9e167bdb2ba7b0d0c369 git remote add powerpc https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git git fetch --no-tags powerpc next-test git checkout 0cad223e88229b1f021f9e167bdb2ba7b0d0c369 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> All errors (new ones prefixed by >>): >> arch/powerpc/kernel/trace/ftrace.c:714:6: error: redefinition of >> 'ftrace_free_init_tramp' 714 | void ftrace_free_init_tramp(void) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/ftrace.h:23, from arch/powerpc/kernel/trace/ftrace.c:20: arch/powerpc/include/asm/ftrace.h:119:20: note: previous definition of 'ftrace_free_init_tramp' with type 'void(void)' 119 | static inline void ftrace_free_init_tramp(void) { } | ^~~~~~~~~~~~~~~~~~~~~~ vim +/ftrace_free_init_tramp +714 arch/powerpc/kernel/trace/ftrace.c 713 > 714 void ftrace_free_init_tramp(void) 715 { 716 int i; 717 718 for (i = 0; i < NUM_FTRACE_TRAMPS && ftrace_tramps[i]; i++) 719 if (ftrace_tramps[i] == (unsigned long)ftrace_tramp_init) { 720 ftrace_tramps[i] = 0; 721 return; 722 } 723 } 724 -- 0-DAY CI Kernel Test Service https://01.org/lkp