Thread (2 messages) 2 messages, 2 authors, 2021-08-26

Re: [PATCH bpf-next] bpf: Fix bpf-next builds without CONFIG_BPF_EVENTS

From: Alexei Starovoitov <hidden>
Date: 2021-08-26 02:45:58
Also in: lkml

On Wed, Aug 25, 2021 at 6:48 PM Daniel Xu [off-list ref] wrote:
This commit fixes linker errors along the lines of:

    s390-linux-ld: task_iter.c:(.init.text+0xa4): undefined reference to `btf_task_struct_ids'`

Fix by defining btf_task_struct_ids unconditionally in kernel/bpf/btf.c
since there exists code that unconditionally uses btf_task_struct_ids.

Reported-by: kernel test robot <redacted>
Signed-off-by: Daniel Xu <redacted>
Applied. Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help