2022-10-26 08:26:05

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] bpftool: Fix spelling mistake "disasembler" -> "disassembler"

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

Signed-off-by: Colin Ian King <[email protected]>
---
tools/bpf/bpftool/jit_disasm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/bpf/bpftool/jit_disasm.c b/tools/bpf/bpftool/jit_disasm.c
index 58a5017034a2..7b8d9ec89ebd 100644
--- a/tools/bpf/bpftool/jit_disasm.c
+++ b/tools/bpf/bpftool/jit_disasm.c
@@ -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;
}

--
2.37.3



2022-10-26 10:52:09

by Quentin Monnet

[permalink] [raw]
Subject: Re: [PATCH][next] bpftool: Fix spelling mistake "disasembler" -> "disassembler"

2022-10-26 09:16 UTC+0100 ~ Colin Ian King <[email protected]>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> tools/bpf/bpftool/jit_disasm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/bpf/bpftool/jit_disasm.c b/tools/bpf/bpftool/jit_disasm.c
> index 58a5017034a2..7b8d9ec89ebd 100644
> --- a/tools/bpf/bpftool/jit_disasm.c
> +++ b/tools/bpf/bpftool/jit_disasm.c
> @@ -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!

Acked-by: Quentin Monnet <[email protected]>

2022-10-27 01:43:24

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH][next] bpftool: Fix spelling mistake "disasembler" -> "disassembler"

Hello:

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

On Wed, 26 Oct 2022 09:16:45 +0100 you wrote:
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html