linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] libbpf: remove redundant semi-colon
@ 2021-04-01 14:23 Yang Yingliang
  2021-04-01 23:17 ` Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2021-04-01 14:23 UTC (permalink / raw)
  To: netdev, linux-kernel, bpf; +Cc: ast

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 tools/lib/bpf/linker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/bpf/linker.c b/tools/lib/bpf/linker.c
index 46b16cbdcda3..4e08bc07e635 100644
--- a/tools/lib/bpf/linker.c
+++ b/tools/lib/bpf/linker.c
@@ -1895,7 +1895,7 @@ static int finalize_btf_ext(struct bpf_linker *linker)
 	hdr->func_info_len = funcs_sz;
 	hdr->line_info_off = funcs_sz;
 	hdr->line_info_len = lines_sz;
-	hdr->core_relo_off = funcs_sz + lines_sz;;
+	hdr->core_relo_off = funcs_sz + lines_sz;
 	hdr->core_relo_len = core_relos_sz;
 
 	if (funcs_sz) {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] libbpf: remove redundant semi-colon
  2021-04-01 14:23 [PATCH -next] libbpf: remove redundant semi-colon Yang Yingliang
@ 2021-04-01 23:17 ` Song Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Song Liu @ 2021-04-01 23:17 UTC (permalink / raw)
  To: Yang Yingliang; +Cc: Networking, open list, bpf, Alexei Starovoitov

On Thu, Apr 1, 2021 at 10:58 AM Yang Yingliang <yangyingliang@huawei.com> wrote:
>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>

Please add a short commit log.

Thanks,
Song

> ---
>  tools/lib/bpf/linker.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/lib/bpf/linker.c b/tools/lib/bpf/linker.c
> index 46b16cbdcda3..4e08bc07e635 100644
> --- a/tools/lib/bpf/linker.c
> +++ b/tools/lib/bpf/linker.c
> @@ -1895,7 +1895,7 @@ static int finalize_btf_ext(struct bpf_linker *linker)
>         hdr->func_info_len = funcs_sz;
>         hdr->line_info_off = funcs_sz;
>         hdr->line_info_len = lines_sz;
> -       hdr->core_relo_off = funcs_sz + lines_sz;;
> +       hdr->core_relo_off = funcs_sz + lines_sz;
>         hdr->core_relo_len = core_relos_sz;
>
>         if (funcs_sz) {
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-01 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 14:23 [PATCH -next] libbpf: remove redundant semi-colon Yang Yingliang
2021-04-01 23:17 ` Song Liu

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).