diff options
author | Xu Kuohai | 2022-10-11 08:01:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:02 +0100 |
commit | 3c48bbf4264f4575c87d41d8a96f8502b598e626 (patch) | |
tree | b8e61375ac3e5755ad28a9ae69629235124e6e8e /tools/lib | |
parent | bec359a2a48f8a631546a19e18bae99a63f4a6f4 (diff) |
selftest/bpf: Fix error usage of ASSERT_OK in xdp_adjust_tail.c
[ Upstream commit cbc1c998da59687e8bbc4667154a72eead2daf2d ]
xdp_adjust_tail.c calls ASSERT_OK() to check the return value of
bpf_prog_test_load(), but the condition is not correct. Fix it.
Fixes: 791cad025051 ("bpf: selftests: Get rid of CHECK macro in xdp_adjust_tail.c")
Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/bpf/20221011120108.782373-7-xukuohai@huaweicloud.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions