diff options
author | Martin KaFai Lau <[email protected]> | 2020-01-27 09:51:45 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-01-29 16:40:54 +0100 |
commit | d3e42bb0a329fadff98fcb927714d0a486840e3b (patch) | |
tree | 4d98a7235279da2956f340bcdb08d78cb6bdb76f /drivers/usb/cdns3/cdns3-debug.h | |
parent | 44efc78d0e464ce70b45b165c005f8bedc17952e (diff) |
bpf: Reuse log from btf_prase_vmlinux() in btf_struct_ops_init()
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions