Skip to contentSkip to conversation

bpftool: Fix spelling mistake "disasembler" -> "disassembler"

PATCH Applied Colin Ian King 3 participants 3 messages Oct 26, 2022 – Oct 27, 2022

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

PATCH 1/1 bpftool: Fix spelling mistake "disasembler" -> "disassembler"

There is a spelling mistake in an error message. Fix it.

---
 tools/bpf/bpftool/jit_disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/bpf/bpftool/jit_disasm.c +1 -1
index 58a5017034a2..7b8d9ec89ebd 100644
@@ -223,7 +223,7 @@ static int init_context(disasm_ctx_t *ctx, const char *arch,
 
 	memset(tpath, 0, sizeof(tpath));
 	if (get_exec_path(tpath, sizeof(tpath))) {
-		p_err("failed to create disasembler (get_exec_path)");
+		p_err("failed to create disassembler (get_exec_path)");
 		return -1;
 	}
 
Signature · 1 line
2.37.3
Acked-by on v1 1/1
#1 lore raw

2022-10-26 09:16 UTC+0100 ~ Colin Ian King <[email protected]>

Quoted 12 lines

There is a spelling mistake in an error message. Fix it.

---
 tools/bpf/bpftool/jit_disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/bpf/bpftool/jit_disasm.c +0 -0
index 58a5017034a2..7b8d9ec89ebd 100644

tools/bpf/bpftool/jit_disasm.c static int init_context(disasm_ctx_t *ctx, const char *arch, · line 229

Quoted 8 lines
tools/bpf/bpftool/jit_disasm.c +1 -1
@@ -223,7 +223,7 @@ static int init_context(disasm_ctx_t *ctx, const char *arch,
 
 	memset(tpath, 0, sizeof(tpath));
 	if (get_exec_path(tpath, sizeof(tpath))) {
-		p_err("failed to create disasembler (get_exec_path)");
+		p_err("failed to create disassembler (get_exec_path)");
 		return -1;
 	}
 

Thanks for the fix!

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

Hello:

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

Quoted 6 lines · On Wed, 26 Oct 2022 09:16:45 +0100 you wrote:

There is a spelling mistake in an error message. Fix it.

---
 tools/bpf/bpftool/jit_disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [next] bpftool: Fix spelling mistake "disasembler" -> "disassembler"

    https://git.kernel.org/bpf/bpf-next/c/96f341a4751d

You are awesome, thank you!

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