Skip to contentSkip to conversation

selftests/bpf: Fix spelling mistake: "unpriviliged" -> "unprivileged"

PATCH Applied Colin Ian King 2 participants 2 messages May 23, 2022

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/bpf: Fix spelling mistake: "unpriviliged" -> "unprivileged"

There are spelling mistakes in ASSERT messages. Fix these.

---
 tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c +2 -2
index 2800185179cf..1ed3cc2092db 100644
@@ -261,10 +261,10 @@ void test_unpriv_bpf_disabled(void)
 	if (ret == -EPERM) {
 		/* if unprivileged_bpf_disabled=1, we get -EPERM back; that's okay. */
 		if (!ASSERT_OK(strcmp(unprivileged_bpf_disabled_orig, "1"),
-			       "unpriviliged_bpf_disabled_on"))
+			       "unprivileged_bpf_disabled_on"))
 			goto cleanup;
 	} else {
-		if (!ASSERT_OK(ret, "set unpriviliged_bpf_disabled"))
+		if (!ASSERT_OK(ret, "set unprivileged_bpf_disabled"))
 			goto cleanup;
 	}
 
Signature · 1 line
2.35.3
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:

Quoted 6 lines · On Mon, 23 May 2022 12:56:04 +0100 you wrote:

There are spelling mistakes in ASSERT messages. Fix these.

---
 tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- [next] selftests/bpf: Fix spelling mistake: "unpriviliged" -> "unprivileged"

    https://git.kernel.org/bpf/bpf-next/c/f9a3eca4bc04

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html