Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Mon, 6 Sep 2021 17:36:38 +0100 you wrote:
struct pt_regs is not exported to userspace on all archs. arm64 and s390 export "user_pt_regs" instead, which causes build failure at the moment:
progs/test_task_pt_regs.c:8:16: error: variable has incomplete type 'struct pt_regs' struct pt_regs current_regs = {};
Instead of using pt_regs from ptrace.h, use the larger kernel struct from vmlinux.h directly. Since the test runner task_pt_regs.c does not have access to the kernel struct definition, copy it into a char array.
[...]
Here is the summary with links: - [bpf-next,v2] selftests/bpf: Fix build of task_pt_regs test for arm64 https://git.kernel.org/bpf/bpf/c/3a029e1f3d6e
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html