tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test head: a4d002e384ba1909c1c03799603f00c5909d6097 commit: f779391282ff7a95222000321b41823d86cf9aa1 [102/117] powerpc: convert interrupt handlers to use wrappers config: powerpc64-randconfig-r035-20210202 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269) 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 # install powerpc64 cross compiling tool for clang build # apt-get install binutils-powerpc64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=f779391282ff7a95222000321b41823d86cf9aa1 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 f779391282ff7a95222000321b41823d86cf9aa1 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
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/tau_6xx.c:103:1: error: no previous prototype for >> function 'DEFINE_INTERRUPT_HANDLER_ASYNC' [-Werror,-Wmissing-prototypes] DEFINE_INTERRUPT_HANDLER_ASYNC(TAUException) ^ arch/powerpc/kernel/tau_6xx.c:103:1: note: declare 'static' if the function is not intended to be used outside of this translation unit DEFINE_INTERRUPT_HANDLER_ASYNC(TAUException) ^ static arch/powerpc/kernel/tau_6xx.c:103:31: error: this old-style function definition is not preceded by a prototype [-Werror,-Wstrict-prototypes] DEFINE_INTERRUPT_HANDLER_ASYNC(TAUException) ^ arch/powerpc/kernel/tau_6xx.c:113:1: error: non-void function does not return a value [-Werror,-Wreturn-type] } ^ 3 errors generated. vim +/DEFINE_INTERRUPT_HANDLER_ASYNC +103 arch/powerpc/kernel/tau_6xx.c 96 97 #ifdef CONFIG_TAU_INT 98 /* 99 * TAU interrupts - called when we have a thermal assist unit interrupt 100 * with interrupts disabled 101 */ 102 > 103 DEFINE_INTERRUPT_HANDLER_ASYNC(TAUException) 104 { 105 int cpu = smp_processor_id(); 106 107 irq_enter(); 108 tau[cpu].interrupts++; 109 110 TAUupdate(cpu); 111 112 irq_exit(); 113 } 114 #endif /* CONFIG_TAU_INT */ 115 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip