Skip to contentSkip to conversation

selftests/bpf: Fix spelling mistakes in descr literal strings

PATCH Applied Colin Ian King 2 participants 2 messages Oct 12 – Oct 16

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

PATCH 1/1 selftests/bpf: Fix spelling mistakes in descr literal strings

There are spelling mistakes in the descr literal strings. Fix them.

Fixes 095ddb501b39 ("selftests/bpf: Add sockopt case to verify prog_type")
---
 tools/testing/selftests/bpf/prog_tests/sockopt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/bpf/prog_tests/sockopt.c +2 -2
index 6c96f2d9fccf..7dfdc4c12dec 100644
@@ -955,7 +955,7 @@ static struct sockopt_test {
 	/* ==================== prog_type ====================  */
 
 	{
-		.descr = "can attach only BPF_CGROUP_SETSOCKOP",
+		.descr = "can attach only BPF_CGROUP_SETSOCKOPT",
 		.insns = {
 			/* return 1 */
 			BPF_MOV64_IMM(BPF_REG_0, 1),
@@ -969,7 +969,7 @@ static struct sockopt_test {
 	},
 
 	{
-		.descr = "can attach only BPF_CGROUP_GETSOCKOP",
+		.descr = "can attach only BPF_CGROUP_GETSOCKOPT",
 		.insns = {
 			/* return 1 */
 			BPF_MOV64_IMM(BPF_REG_0, 1),
Signature · 1 line
2.55.0
#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 8 lines · On Mon, 12 Oct 2026 22:23:34 +0100 you wrote:

There are spelling mistakes in the descr literal strings. Fix them.

Fixes 095ddb501b39 ("selftests/bpf: Add sockopt case to verify prog_type")
---
 tools/testing/selftests/bpf/prog_tests/sockopt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- selftests/bpf: Fix spelling mistakes in descr literal strings

    https://git.kernel.org/bpf/bpf-next/c/760c953525ba

You are awesome, thank you!

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