Merge branch 'libbpf: add bpf_core_cast() helper'
Andrii Nakryiko says:
====================
Add bpf_core_cast(<ptr>, <type>) macro wrapper around bpf_rdonly_cast() kfunc
to make it easier to use this functionality in BPF code. See patch #2 for
BPF selftests conversions demonstrating improvements in code succinctness.
====================
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Please register or sign in to comment