error: no previous prototype for ‘pt_regs_check’

Mathieu Malaterre malat at debian.org
Sat Dec 8 07:07:13 AEDT 2018


Michael,

I have been wondering for a while now, but I failed to make sense of
this function: pt_regs_check (commit 002af9391bfbe). What is this
function meant for ?

Background, it breaks my W=1 build with:

../arch/powerpc/kernel/ptrace.c:3339:13: error: no previous prototype
for ‘pt_regs_check’ [-Werror=missing-prototypes]

I failed to find a usage of it within the linux source tree... (git
grep pt_regs_check returns nothing).

Thanks,


More information about the Linuxppc-dev mailing list