Hi Anson, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on powerpc/next] [also build test ERROR on linus/master v5.14-rc2 next-20210723] [cannot apply to paulus-powerpc/kvm-ppc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Anson-Jacob/PPC-Add-generic-FPU-api-similar-to-x86/20210721-125053 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-allnoconfig (attached as .config) compiler: powerpc-linux-gcc (GCC) 10.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://github.com/0day-ci/linux/commit/d179ebec25f39a1595f42c8f9d7e4ec600ac7e04 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Anson-Jacob/PPC-Add-generic-FPU-api-similar-to-x86/20210721-125053 git checkout d179ebec25f39a1595f42c8f9d7e4ec600ac7e04 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arch/powerpc/kernel/process.c:468:6: error: no previous prototype for 'kernel_fpu_enabled' [-Werror=missing-prototypes] 468 | bool kernel_fpu_enabled(void) | ^~~~~~~~~~~~~~~~~~ >> arch/powerpc/kernel/process.c:474:6: error: no previous prototype for 'kernel_fpu_begin' [-Werror=missing-prototypes] 474 | void kernel_fpu_begin(void) | ^~~~~~~~~~~~~~~~ >> arch/powerpc/kernel/process.c:506:6: error: no previous prototype for 'kernel_fpu_end' [-Werror=missing-prototypes] 506 | void kernel_fpu_end(void) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/kernel_fpu_enabled +468 arch/powerpc/kernel/process.c 467 > 468 bool kernel_fpu_enabled(void) 469 { 470 return this_cpu_read(in_kernel_fpu); 471 } 472 EXPORT_SYMBOL_GPL(kernel_fpu_enabled); 473 > 474 void kernel_fpu_begin(void) 475 { 476 if (!fpu_support()) { 477 WARN_ON_ONCE(1); 478 return; 479 } 480 481 preempt_disable(); 482 483 #ifdef CONFIG_VSX 484 if (cpu_has_feature(CPU_FTR_VSX_COMP)) { 485 enable_kernel_vsx(); 486 return; 487 } 488 #endif 489 490 #ifdef CONFIG_ALTIVEC 491 if (cpu_has_feature(CPU_FTR_ALTIVEC_COMP)) { 492 enable_kernel_altivec(); 493 return; 494 } 495 #endif 496 497 #ifdef CONFIG_PPC_FPU 498 if (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) { 499 enable_kernel_fp(); 500 return; 501 } 502 #endif 503 } 504 EXPORT_SYMBOL_GPL(kernel_fpu_begin); 505 > 506 void kernel_fpu_end(void) 507 { 508 if (!fpu_support()) { 509 WARN_ON_ONCE(1); 510 return; 511 } 512 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org