summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/ringbuf.c
diff options
context:
space:
mode:
authorWilliam Dean <williamsukatube@163.com>2022-09-17 10:42:48 +0200
committerMartin KaFai Lau <martin.lau@kernel.org>2022-09-21 19:28:46 +0200
commit3a74904ceff3ecdb9d6cc0844ed67df417968eb6 (patch)
treedda1f65af713e72d04891e893dd0138abdd3458d /kernel/bpf/ringbuf.c
parentlibbpf: Fix NULL pointer exception in API btf_dump__dump_type_data (diff)
downloadlinux-3a74904ceff3ecdb9d6cc0844ed67df417968eb6.tar.xz
linux-3a74904ceff3ecdb9d6cc0844ed67df417968eb6.zip
bpf: simplify code in btf_parse_hdr
It could directly return 'btf_check_sec_info' to simplify code. Signed-off-by: William Dean <williamsukatube@163.com> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/r/20220917084248.3649-1-williamsukatube@163.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'kernel/bpf/ringbuf.c')
0 files changed, 0 insertions, 0 deletions