tree: https://github.com/ammarfaizi2/linux-block viro/vfs/work.elfcore head: a3dc8a83c1058a934c52202bfaff2206e573e761 commit: 5d2db800a27b1fb81bd03f02a4c6fa7046352be8 [7/10] [elf][non-regset] uninline elf_core_copy_task_fpregs() (and lose pt_regs argument) config: um-i386_defconfig compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/5d2db800a27b1fb81bd03f02a4c6fa7046352be8 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block viro/vfs/work.elfcore git checkout 5d2db800a27b1fb81bd03f02a4c6fa7046352be8 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): arch/um/kernel/process.c:50:5: warning: no previous prototype for 'pid_to_processor_id' [-Wmissing-prototypes] 50 | int pid_to_processor_id(int pid) | ^~~~~~~~~~~~~~~~~~~ arch/um/kernel/process.c:86:7: warning: no previous prototype for '__switch_to' [-Wmissing-prototypes] 86 | void *__switch_to(struct task_struct *from, struct task_struct *to) | ^~~~~~~~~~~ arch/um/kernel/process.c: In function 'new_thread_handler': arch/um/kernel/process.c:121:28: warning: variable 'n' set but not used [-Wunused-but-set-variable] 121 | int (*fn)(void *), n; | ^ arch/um/kernel/process.c: At top level: arch/um/kernel/process.c:139:6: warning: no previous prototype for 'fork_handler' [-Wmissing-prototypes] 139 | void fork_handler(void) | ^~~~~~~~~~~~ arch/um/kernel/process.c:216:6: warning: no previous prototype for 'arch_cpu_idle' [-Wmissing-prototypes] 216 | void arch_cpu_idle(void) | ^~~~~~~~~~~~~ arch/um/kernel/process.c:253:5: warning: no previous prototype for 'copy_to_user_proc' [-Wmissing-prototypes] 253 | int copy_to_user_proc(void __user *to, void *from, int size) | ^~~~~~~~~~~~~~~~~ arch/um/kernel/process.c:263:5: warning: no previous prototype for 'clear_user_proc' [-Wmissing-prototypes] 263 | int clear_user_proc(void __user *buf, int size) | ^~~~~~~~~~~~~~~ arch/um/kernel/process.c:316:12: warning: no previous prototype for 'make_proc_sysemu' [-Wmissing-prototypes] 316 | int __init make_proc_sysemu(void) | ^~~~~~~~~~~~~~~~ arch/um/kernel/process.c:356:15: warning: no previous prototype for 'arch_align_stack' [-Wmissing-prototypes] 356 | unsigned long arch_align_stack(unsigned long sp) | ^~~~~~~~~~~~~~~~ >> arch/um/kernel/process.c:396:5: warning: no previous prototype for 'elf_core_copy_task_fpregs' [-Wmissing-prototypes] 396 | int elf_core_copy_task_fpregs(struct task_struct *t, elf_fpregset_t *fpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +/elf_core_copy_task_fpregs +396 arch/um/kernel/process.c 395 > 396 int elf_core_copy_task_fpregs(struct task_struct *t, elf_fpregset_t *fpu) 397 { 398 int cpu = current_thread_info()->cpu; 399 400 return save_i387_registers(userspace_pid[cpu], (unsigned long *) fpu); 401 } 402 -- 0-DAY CI Kernel Test Service https://01.org/lkp