aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-22 10:13:45 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-22 12:15:54 +0100
commitab85b0143428739cb0f2533182d5824375b6b66b (patch)
tree074411f7d60ead06b7192d8dbd6246adccf57b3b /tools/testing/selftests
parentbpf, lpm: make longest_prefix_match() faster (diff)
downloadlinux-dev-ab85b0143428739cb0f2533182d5824375b6b66b.tar.xz
linux-dev-ab85b0143428739cb0f2533182d5824375b6b66b.zip
tools/bpf: fix spelling mistake "memeory" -> "memory"
The CHECK message contains a spelling mistake, fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/bpf/test_btf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/test_btf.c b/tools/testing/selftests/bpf/test_btf.c
index 7b1b160d6e67..bcbda7037840 100644
--- a/tools/testing/selftests/bpf/test_btf.c
+++ b/tools/testing/selftests/bpf/test_btf.c
@@ -2573,7 +2573,7 @@ static int do_test_file(unsigned int test_num)
}
func_info = malloc(info.func_info_cnt * rec_size);
- if (CHECK(!func_info, "out of memeory")) {
+ if (CHECK(!func_info, "out of memory")) {
err = -1;
goto done;
}
@@ -3299,7 +3299,7 @@ static int do_test_func_type(int test_num)
}
func_info = malloc(info.func_info_cnt * rec_size);
- if (CHECK(!func_info, "out of memeory")) {
+ if (CHECK(!func_info, "out of memory")) {
err = -1;
goto done;
}