selftests: bpf: fix backported ASSERT_FALSE
authorLorenz Bauer <lmb@cloudflare.com>
Mon, 25 Oct 2021 16:06:19 +0000 (17:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Oct 2021 07:56:56 +0000 (09:56 +0200)
commitd088db8637bb705a987ca5a497c081089ce3ccb1
tree81bb0a5eef74c7a9d52bc77b6a37668ff5c78db7
parent3a845fa00fd730ae3b48e87b11794c2270a7c9ac
selftests: bpf: fix backported ASSERT_FALSE

Commit 183d9ebd449c ("selftests/bpf: Fix core_reloc test runner") causes
builds of selftests/bpf to fail on 5.10.y since the branch doesn't have the
ASSERT_FALSE macro yet. Replace ASSERT_FALSE with ASSERT_EQ.

Fixes: 183d9ebd449c ("selftests/bpf: Fix core_reloc test runner")
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/bpf/prog_tests/core_reloc.c