From: Andrii Nakryiko <andrii.nakryiko@gmail.com>
To: wangborong@cdjrlc.com
Cc: Daniel Borkmann <daniel@iogearbox.net>,
Alexei Starovoitov <ast@kernel.org>,
Andrii Nakryiko <andrii@kernel.org>, Martin Lau <kafai@fb.com>,
Song Liu <songliubraving@fb.com>, Yonghong Song <yhs@fb.com>,
john fastabend <john.fastabend@gmail.com>,
KP Singh <kpsingh@kernel.org>,
Networking <netdev@vger.kernel.org>, bpf <bpf@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] libbpf: fix commnet typo
Date: Tue, 27 Jul 2021 14:20:43 -0700 [thread overview]
Message-ID: <CAEf4Bza5UwEOPEo3Ww-TugJmT91dmfCggFAF6JQmeimCebYPVQ@mail.gmail.com> (raw)
In-Reply-To: <20210727115928.74600-1-wangborong@cdjrlc.com>
On Tue, Jul 27, 2021 at 5:00 AM Jason Wang <wangborong@cdjrlc.com> wrote:
>
> Remove the repeated word 'the' in line 48.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
Fixed the typo in the subject of a patch fixing a typo in libbpf
comment :) Applied to bpf-next.
> tools/lib/bpf/libbpf.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
> index 4c153c379989..d474816ecd70 100644
> --- a/tools/lib/bpf/libbpf.c
> +++ b/tools/lib/bpf/libbpf.c
> @@ -7236,7 +7236,7 @@ static int bpf_object__collect_relos(struct bpf_object *obj)
>
> for (i = 0; i < obj->nr_programs; i++) {
> struct bpf_program *p = &obj->programs[i];
> -
> +
> if (!p->nr_reloc)
> continue;
>
> @@ -9533,7 +9533,7 @@ static int find_btf_by_prefix_kind(const struct btf *btf, const char *prefix,
> ret = snprintf(btf_type_name, sizeof(btf_type_name),
> "%s%s", prefix, name);
> /* snprintf returns the number of characters written excluding the
> - * the terminating null. So, if >= BTF_MAX_NAME_SIZE are written, it
> + * terminating null. So, if >= BTF_MAX_NAME_SIZE are written, it
> * indicates truncation.
> */
> if (ret < 0 || ret >= sizeof(btf_type_name))
> @@ -10075,7 +10075,7 @@ struct bpf_link {
> int bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog)
> {
> int ret;
> -
> +
> ret = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), NULL);
> return libbpf_err_errno(ret);
> }
> --
> 2.32.0
>
next prev parent reply other threads:[~2021-07-27 21:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-27 11:59 [PATCH] libbpf: fix commnet typo Jason Wang
2021-07-27 15:49 ` Yonghong Song
2021-07-27 21:20 ` Andrii Nakryiko [this message]
2021-07-27 21:30 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEf4Bza5UwEOPEo3Ww-TugJmT91dmfCggFAF6JQmeimCebYPVQ@mail.gmail.com \
--to=andrii.nakryiko@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=kpsingh@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=songliubraving@fb.com \
--cc=wangborong@cdjrlc.com \
--cc=yhs@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).