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-Tag: v6.9-rc1~159^2~134^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4009250574c69d2a3dd838af81cc3d4d72058e4;p=thirdparty%2Fkernel%2Fstable.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