Skip to contentSkip to conversation

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

PATCH Applied Colin Ian King 3 participants 3 messages Sep 28, 2022 – Sep 30, 2022

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

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

There a couple of spelling mistakes, one in a literal string and one in a comment. Fix them.

---
 tools/testing/selftests/bpf/verifier/calls.c   | 2 +-
 tools/testing/selftests/bpf/verifier/var_off.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/bpf/verifier/calls.c +1 -1
index 3fb4f69b1962..e1a937277b54 100644
@@ -284,7 +284,7 @@
 	.result = ACCEPT,
 },
 {
-	"calls: not on unpriviledged",
+	"calls: not on unprivileged",
 	.insns = {
 	BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2),
 	BPF_MOV64_IMM(BPF_REG_0, 1),
tools/testing/selftests/bpf/verifier/var_off.c +1 -1
index 187c6f6e32bc..d37f512fad16 100644
@@ -121,7 +121,7 @@
 	BPF_EXIT_INSN(),
 	},
 	.fixup_map_hash_8b = { 1 },
-	/* The unpriviledged case is not too interesting; variable
+	/* The unprivileged case is not too interesting; variable
 	 * stack access is rejected.
 	 */
 	.errstr_unpriv = "R2 variable stack access prohibited for !root",
Signature · 1 line
2.37.1
Acked-by on v1 1/1
#1 lore raw
Quoted 38 lines · Colin Ian King

There a couple of spelling mistakes, one in a literal string and one in a comment. Fix them.

---
 tools/testing/selftests/bpf/verifier/calls.c   | 2 +-
 tools/testing/selftests/bpf/verifier/var_off.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/bpf/verifier/calls.c +1 -1
index 3fb4f69b1962..e1a937277b54 100644
@@ -284,7 +284,7 @@
 	.result = ACCEPT,
 },
 {
-	"calls: not on unpriviledged",
+	"calls: not on unprivileged",
 	.insns = {
 	BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2),
 	BPF_MOV64_IMM(BPF_REG_0, 1),
tools/testing/selftests/bpf/verifier/var_off.c +1 -1
index 187c6f6e32bc..d37f512fad16 100644
@@ -121,7 +121,7 @@
 	BPF_EXIT_INSN(),
 	},
 	.fixup_map_hash_8b = { 1 },
-	/* The unpriviledged case is not too interesting; variable
+	/* The unprivileged case is not too interesting; variable
 	 * stack access is rejected.
 	 */
 	.errstr_unpriv = "R2 variable stack access prohibited for !root",
Signature · 1 line
2.37.1

Sure, but bpf-next.

#2 lore raw
In reply to Colin Ian King
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Hello:

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

Quoted 8 lines · On Wed, 28 Sep 2022 23:15:55 +0100 you wrote:

There a couple of spelling mistakes, one in a literal string and one in a comment. Fix them.

---
 tools/testing/selftests/bpf/verifier/calls.c   | 2 +-
 tools/testing/selftests/bpf/verifier/var_off.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- selftests/bpf: Fix spelling mistake "unpriviledged" -> "unprivileged"

    https://git.kernel.org/bpf/bpf-next/c/2efcf695bfc0

You are awesome, thank you!

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