diff options
| -rw-r--r-- | tools/testing/selftests/bpf/test_verifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c index 17021d2b6bfe..5eace1f606fb 100644 --- a/tools/testing/selftests/bpf/test_verifier.c +++ b/tools/testing/selftests/bpf/test_verifier.c | |||
| @@ -14287,7 +14287,7 @@ static void do_test_single(struct bpf_test *test, bool unpriv, | |||
| 14287 | 14287 | ||
| 14288 | reject_from_alignment = fd_prog < 0 && | 14288 | reject_from_alignment = fd_prog < 0 && |
| 14289 | (test->flags & F_NEEDS_EFFICIENT_UNALIGNED_ACCESS) && | 14289 | (test->flags & F_NEEDS_EFFICIENT_UNALIGNED_ACCESS) && |
| 14290 | strstr(bpf_vlog, "Unknown alignment."); | 14290 | strstr(bpf_vlog, "misaligned"); |
| 14291 | #ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS | 14291 | #ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS |
| 14292 | if (reject_from_alignment) { | 14292 | if (reject_from_alignment) { |
| 14293 | printf("FAIL\nFailed due to alignment despite having efficient unaligned access: '%s'!\n", | 14293 | printf("FAIL\nFailed due to alignment despite having efficient unaligned access: '%s'!\n", |
