[next] bpftool: Fix spelling mistake "disasembler" -> "disassembler"

Message ID 20221026081645.3186878-1-colin.i.king@gmail.com
State New
Headers
Series [next] bpftool: Fix spelling mistake "disasembler" -> "disassembler" |

Commit Message

Colin Ian King Oct. 26, 2022, 8:16 a.m. UTC
  There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/bpf/bpftool/jit_disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Quentin Monnet Oct. 26, 2022, 10:47 a.m. UTC | #1
2022-10-26 09:16 UTC+0100 ~ Colin Ian King <colin.i.king@gmail.com>
> There is a spelling mistake in an error message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  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 <quentin@isovalent.com>
  
patchwork-bot+netdevbpf@kernel.org Oct. 27, 2022, 1:30 a.m. UTC | #2
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@kernel.org>:

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 <colin.i.king@gmail.com>
> ---
>  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!
  

Patch

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;
 	}