tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test head: afc2830892a128a13a65f677271a0a48aeb61b5e commit: afc2830892a128a13a65f677271a0a48aeb61b5e [12/12] powerpc/syscall: Fix syscall skip handling for seccomp and ptrace config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20260711/[email protected]/config) compiler: powerpc-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/[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 >>): In file included from arch/powerpc/include/asm/user.h:5, from include/linux/user.h:1, from include/linux/elfcore.h:5, from include/linux/vmcore_info.h:6, from include/linux/kexec.h:18, from include/linux/crash_dump.h:5, from drivers/of/fdt.c:11: arch/powerpc/include/asm/ptrace.h: In function 'set_syscall_entry_ret': >> arch/powerpc/include/asm/ptrace.h:241:33: error: implicit declaration of >> function 'BIT' [-Wimplicit-function-declaration] 241 | #define SYSCALL_ENTRY_RET_SET BIT(0) | ^~~ arch/powerpc/include/asm/ptrace.h:245:30: note: in expansion of macro 'SYSCALL_ENTRY_RET_SET' 245 | regs->entry_flags |= SYSCALL_ENTRY_RET_SET; | ^~~~~~~~~~~~~~~~~~~~~ vim +/BIT +241 arch/powerpc/include/asm/ptrace.h 228 229 #define force_successful_syscall_return() \ 230 do { \ 231 set_thread_flag(TIF_NOERROR); \ 232 } while(0) 233 234 #define current_pt_regs() \ 235 ((struct pt_regs *)((unsigned long)task_stack_page(current) + THREAD_SIZE) - 1) 236 237 /* 238 * SYSCALL_ENTRY_RET_SET: seccomp or ptrace called syscall_set_return_value() 239 * and wants the syscall skipped; regs->gpr[3] already holds the return value. 240 */ > 241 #define SYSCALL_ENTRY_RET_SET BIT(0) 242 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
