Commit df71a42c authored by Taichi Nishimura's avatar Taichi Nishimura Committed by Andrii Nakryiko
Browse files

Fix typos in selftest/bpf files



Run spell checker on files in selftest/bpf and fixed typos.

Signed-off-by: default avatarTaichi Nishimura <awkrail01@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/bpf/20230216085537.519062-1-awkrail01@gmail.com
parent c5a237a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -488,7 +488,7 @@ static void run_test(struct migrate_reuseport_test_case *test_case,
			goto close_servers;
	}

	/* Tie requests to the first four listners */
	/* Tie requests to the first four listeners */
	err = start_clients(test_case);
	if (!ASSERT_OK(err, "start_clients"))
		goto close_clients;
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ void serial_test_trampoline_count(void)
	if (!ASSERT_EQ(link, NULL, "ptr_is_null"))
		goto cleanup;

	/* and finaly execute the probe */
	/* and finally execute the probe */
	prog_fd = bpf_program__fd(prog);
	if (!ASSERT_GE(prog_fd, 0, "bpf_program__fd"))
		goto cleanup;
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ typedef void (*printf_fn_t)(const char *, ...);
 *	typedef int (*fn_t)(int);
 *	typedef char * const * (*fn_ptr2_t)(s_t, fn_t);
 *
 * - `fn_complext_t`: pointer to a function returning struct and accepting
 * - `fn_complex_t`: pointer to a function returning struct and accepting
 *   union and struct. All structs and enum are anonymous and defined inline.
 *
 * - `signal_t: pointer to a function accepting a pointer to a function as an
+1 −1
Original line number Diff line number Diff line
@@ -630,7 +630,7 @@ static int release_twice_callback_fn(__u32 index, void *data)
}

/* Test that releasing a dynptr twice, where one of the releases happens
 * within a calback function, fails
 * within a callback function, fails
 */
SEC("?raw_tp")
__failure __msg("arg 1 is an unacquired reference")
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ struct strobe_value_loc {
	 * tpidr_el0 for aarch64).
	 * TLS_IMM_EXEC: absolute address of GOT entry containing offset
	 * from thread pointer;
	 * TLS_GENERAL_DYN: absolute addres of double GOT entry
	 * TLS_GENERAL_DYN: absolute address of double GOT entry
	 * containing tls_index_t struct;
	 */
	int64_t offset;
Loading