Thread (4 messages) 4 messages, 4 authors, 2020-01-29

Re: [PATCH bpf] bpf: Reuse log from btf_prase_vmlinux() in btf_struct_ops_init()

From: Andrii Nakryiko <hidden>
Date: 2020-01-27 18:34:55
Also in: bpf

On Mon, Jan 27, 2020 at 9:52 AM Martin KaFai Lau [off-list ref] wrote:
Instead of using a locally defined "struct bpf_verifier_log log = {}",
btf_struct_ops_init() should reuse the "log" from its calling
function "btf_parse_vmlinux()".  It should also resolve the
frame-size too large compiler warning in some ARCH.

Fixes: 27ae7997a661 ("bpf: Introduce BPF_PROG_TYPE_STRUCT_OPS")
Signed-off-by: Martin KaFai Lau <redacted>
---
LGTM, but there is typo in subject (btf_prase_vmlinux).

Acked-by: Andrii Nakryiko <redacted>

[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help