From: Martin KaFai Lau Date: Tue, 30 Jan 2024 23:55:50 +0000 (-0800) Subject: Merge branch 'libbpf: add bpf_core_cast() helper' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e4009250574c69d2a3dd838af81cc3d4d72058e4;p=users%2Fwilly%2Flinux.git Merge branch 'libbpf: add bpf_core_cast() helper' Andrii Nakryiko says: ==================== Add bpf_core_cast(, ) 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 --- e4009250574c69d2a3dd838af81cc3d4d72058e4