[next] tools/bpf: fix spelling mistake "memeory" -> "memory"
diff mbox series

Message ID 20181122101345.16271-1-colin.king@canonical.com
State Accepted
Commit ab85b0143428739cb0f2533182d5824375b6b66b
Headers show
Series
  • [next] tools/bpf: fix spelling mistake "memeory" -> "memory"
Related show

Commit Message

Colin King Nov. 22, 2018, 10:13 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

The CHECK message contains a spelling mistake, fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/testing/selftests/bpf/test_btf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Daniel Borkmann Nov. 22, 2018, 11:17 a.m. UTC | #1
On 11/22/2018 11:13 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The CHECK message contains a spelling mistake, fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to bpf-next, thanks!

Patch
diff mbox series

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;
 	}