selftests/bpf: Fix spelling mistake "succesful" -> "successful"
Subsystems (4)
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
@@ -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
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_OKliteral string. Fix it.Signed-off-by Colin Ian King <[email protected]>---
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@@ -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
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,
MykolaQuoted 30 lines · Colin Ian King
!-------------------------------------------------------------------|
This Message Is From an External Sender|-------------------------------------------------------------------!
There is a spelling mistake in an
ASSERT_OKliteral string. Fix it.Signed-off-by Colin Ian King <[email protected]>---
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@@ -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