* [powerpc:fixes-test 12/12] arch/powerpc/include/asm/ptrace.h:241:33: error: implicit declaration of function 'BIT'
@ 2026-07-10 17:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-10 17:46 UTC (permalink / raw)
To: Mukesh Kumar Chaurasiya (IBM)
Cc: oe-kbuild-all, linuxppc-dev, Madhavan Srinivasan,
Michal Suchánek
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/202607110141.nUx3NKwu-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607110141.nUx3NKwu-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607110141.nUx3NKwu-lkp@intel.com/
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-10 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10 17:46 [powerpc:fixes-test 12/12] arch/powerpc/include/asm/ptrace.h:241:33: error: implicit declaration of function 'BIT' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox