Commit 98857d11 authored by Ricardo B. Marlière's avatar Ricardo B. Marlière Committed by Andrii Nakryiko
Browse files

selftests/bpf: Fix bpf_prog_detach2 usage in test_lirc_mode2



Commit e9fc3ce9 ("libbpf: Streamline error reporting for high-level
APIs") redefined the way that bpf_prog_detach2() returns. Therefore, adapt
the usage in test_lirc_mode2_user.c.

Signed-off-by: default avatarRicardo B. Marlière <rbm@suse.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250828-selftests-bpf-v1-1-c7811cd8b98c@suse.com
parent 737433c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment