Skip to contentSkip to conversation

selftests/bpf: Fix spelling mistake "succesful" -> "successful"

PATCH Superseded Colin Ian King 2 participants 3 messages Aug 17, 2022

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/bpf: Fix spelling mistake "succesful" -> "successful"

There is a spelling mistake in an ASSERT_OK literal string. Fix it.

---
 tools/testing/selftests/bpf/prog_tests/kfunc_call.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/prog_tests/kfunc_call.c +1 -1
index 351fafa006fb..eede7c304f86 100644
@@ -109,7 +109,7 @@ static void test_destructive(void)
 {
 	__u64 save_caps = 0;
 
-	ASSERT_OK(test_destructive_open_and_load(), "succesful_load");
+	ASSERT_OK(test_destructive_open_and_load(), "successful_load");
 
 	if (!ASSERT_OK(cap_disable_effective(1ULL << CAP_SYS_BOOT, &save_caps), "drop_caps"))
 		return;
Signature · 1 line
2.37.1
#1 lore raw

Hi Colin,

Thanks for your patch!

Can you change patch title to "[PATCH bpf-next] selftests/bpf: Fix spelling mistake "succesful” (kfunc_call.c)”?

Regards,
Mykola

Quoted 30 lines · Colin Ian King

!-------------------------------------------------------------------|
This Message Is From an External Sender

|-------------------------------------------------------------------!

There is a spelling mistake in an ASSERT_OK literal string. Fix it.

---
tools/testing/selftests/bpf/prog_tests/kfunc_call.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/prog_tests/kfunc_call.c +1 -1
index 351fafa006fb..eede7c304f86 100644
@@ -109,7 +109,7 @@ static void test_destructive(void)
 {
 	__u64 save_caps = 0;
 
-	ASSERT_OK(test_destructive_open_and_load(), "succesful_load");
+	ASSERT_OK(test_destructive_open_and_load(), "successful_load");
 
 	if (!ASSERT_OK(cap_disable_effective(1ULL << CAP_SYS_BOOT, &save_caps), "drop_caps"))
 		return;
Signature · 1 line
2.37.1
#2 lore raw
Quoted 5 lines · Mykola Lysenko

Hi Colin,

Thanks for your patch!

Can you change patch title to "[PATCH bpf-next] selftests/bpf: Fix spelling mistake "succesful” (kfunc_call.c)”?

Personally I think the kfunc_call.c part in the title is extraneous, it's clear it's patching that file from the diff and it's not the style I've used of the 3,900+ patches I've had accepted in the kernel.

Colin

Quoted 35 lines

Regards,
Mykola

Quoted 30 lines · Colin Ian King

!-------------------------------------------------------------------|
This Message Is From an External Sender

|-------------------------------------------------------------------!

There is a spelling mistake in an ASSERT_OK literal string. Fix it.

---
tools/testing/selftests/bpf/prog_tests/kfunc_call.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/prog_tests/kfunc_call.c +1 -1
index 351fafa006fb..eede7c304f86 100644
@@ -109,7 +109,7 @@ static void test_destructive(void)
 {
 	__u64 save_caps = 0;
 
-	ASSERT_OK(test_destructive_open_and_load(), "succesful_load");
+	ASSERT_OK(test_destructive_open_and_load(), "successful_load");
 
 	if (!ASSERT_OK(cap_disable_effective(1ULL << CAP_SYS_BOOT, &save_caps), "drop_caps"))
 		return;
Signature · 1 line
2.37.1