* [PATCH] tools:bpf: fix missing closing parethesis for BTF_KIND_UNKN
@ 2025-10-28 6:33 Zhang Chujun
2025-10-28 16:11 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Chujun @ 2025-10-28 6:33 UTC (permalink / raw)
To: bpf; +Cc: Zhang Chujun
In the btf_dumper_do_type function, the debug print statement for
BTF_KIND_UNKN was missing a closing parenthesis in the output format.
This patch adds the missing ')' to ensure proper formatting of the
dump output.
Signed-off-by: Zhang Chujun <zhangchujun@cmss.chinamobile.com>
---
tools/bpf/bpftool/btf_dumper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/bpf/bpftool/btf_dumper.c b/tools/bpf/bpftool/btf_dumper.c
index ff12628593ae..def297e879f4 100644
--- a/tools/bpf/bpftool/btf_dumper.c
+++ b/tools/bpf/bpftool/btf_dumper.c
@@ -590,7 +590,7 @@ static int btf_dumper_do_type(const struct btf_dumper *d, __u32 type_id,
case BTF_KIND_DATASEC:
return btf_dumper_datasec(d, type_id, data);
default:
- jsonw_printf(d->jw, "(unsupported-kind");
+ jsonw_printf(d->jw, "(unsupported-kind)");
return -EINVAL;
}
}
--
2.50.1.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools:bpf: fix missing closing parethesis for BTF_KIND_UNKN
2025-10-28 6:33 [PATCH] tools:bpf: fix missing closing parethesis for BTF_KIND_UNKN Zhang Chujun
@ 2025-10-28 16:11 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-10-28 16:11 UTC (permalink / raw)
To: Zhang Chujun; +Cc: bpf
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Tue, 28 Oct 2025 14:33:45 +0800 you wrote:
> In the btf_dumper_do_type function, the debug print statement for
> BTF_KIND_UNKN was missing a closing parenthesis in the output format.
> This patch adds the missing ')' to ensure proper formatting of the
> dump output.
>
> Signed-off-by: Zhang Chujun <zhangchujun@cmss.chinamobile.com>
>
> [...]
Here is the summary with links:
- tools:bpf: fix missing closing parethesis for BTF_KIND_UNKN
https://git.kernel.org/bpf/bpf-next/c/88427328e35d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-28 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 6:33 [PATCH] tools:bpf: fix missing closing parethesis for BTF_KIND_UNKN Zhang Chujun
2025-10-28 16:11 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox