* [PATCH -next] libbpf: Remove unneeded semicolon
@ 2020-04-28 9:07 Zou Wei
2020-04-28 19:49 ` Daniel Borkmann
0 siblings, 1 reply; 2+ messages in thread
From: Zou Wei @ 2020-04-28 9:07 UTC (permalink / raw)
To: ast, daniel, kafai, songliubraving, yhs, andriin, john.fastabend,
kpsingh
Cc: netdev, bpf, linux-kernel, Zou Wei
Fixes coccicheck warning:
tools/lib/bpf/btf_dump.c:661:4-5: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
tools/lib/bpf/btf_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/lib/bpf/btf_dump.c b/tools/lib/bpf/btf_dump.c
index 0c28ee8..de07e55 100644
--- a/tools/lib/bpf/btf_dump.c
+++ b/tools/lib/bpf/btf_dump.c
@@ -658,7 +658,7 @@ static void btf_dump_emit_type(struct btf_dump *d, __u32 id, __u32 cont_id)
if (!btf_dump_is_blacklisted(d, id)) {
btf_dump_emit_typedef_def(d, id, t, 0);
btf_dump_printf(d, ";\n\n");
- };
+ }
tstate->fwd_emitted = 1;
break;
default:
--
2.6.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] libbpf: Remove unneeded semicolon
2020-04-28 9:07 [PATCH -next] libbpf: Remove unneeded semicolon Zou Wei
@ 2020-04-28 19:49 ` Daniel Borkmann
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2020-04-28 19:49 UTC (permalink / raw)
To: Zou Wei, ast, kafai, songliubraving, yhs, andriin,
john.fastabend, kpsingh
Cc: netdev, bpf, linux-kernel
On 4/28/20 11:07 AM, Zou Wei wrote:
> Fixes coccicheck warning:
>
> tools/lib/bpf/btf_dump.c:661:4-5: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-28 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 9:07 [PATCH -next] libbpf: Remove unneeded semicolon Zou Wei
2020-04-28 19:49 ` Daniel Borkmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).