]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: Fix bpf_prog_detach2 usage in test_lirc_mode2
authorRicardo B. Marlière <rbm@suse.com>
Thu, 28 Aug 2025 13:12:33 +0000 (10:12 -0300)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 28 Aug 2025 16:49:46 +0000 (09:49 -0700)
commit98857d111c53954aa038fcbc4cf48873e4240f7c
tree27bf71a7904591aa93d0fc22e8f0011e0c0c3da1
parent737433c6a559c4e8acb065cfe9b6e2ff45ad655c
selftests/bpf: Fix bpf_prog_detach2 usage in test_lirc_mode2

Commit e9fc3ce99b34 ("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: Ricardo B. Marlière <rbm@suse.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250828-selftests-bpf-v1-1-c7811cd8b98c@suse.com
tools/testing/selftests/bpf/test_lirc_mode2_user.c