Skip to content
Commit e4009250 authored by Martin KaFai Lau's avatar Martin KaFai Lau
Browse files

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: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parents 4d8ebe13 ea9d5616
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment