From: Arnaldo Carvalho de Melo <acme@redhat.com>
To: Colin King <colin.king@canonical.com>
Cc: Wang Nan <wangnan0@huawei.com>,
Alexei Starovoitov <ast@kernel.org>,
He Kuang <hekuang@huawei.com>, Namhyung Kim <namhyung@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"
Date: Tue, 28 Jun 2016 11:13:25 -0300 [thread overview]
Message-ID: <20160628141325.GA7137@redhat.com> (raw)
In-Reply-To: <1467116617-8318-1-git-send-email-colin.king@canonical.com>
Em Tue, Jun 28, 2016 at 01:23:37PM +0100, Colin King escreveu:
> From: Colin Ian King <colin.king@canonical.com>
>
> trivial fix to spelling mistake
Thanks, applied.
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> tools/lib/bpf/libbpf.c | 2 +-
> tools/lib/bpf/libbpf.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
> index 462e526..a7cb40a 100644
> --- a/tools/lib/bpf/libbpf.c
> +++ b/tools/lib/bpf/libbpf.c
> @@ -71,7 +71,7 @@ static const char *libbpf_strerror_table[NR_ERRNO] = {
> [ERRCODE_OFFSET(LIBELF)] = "Something wrong in libelf",
> [ERRCODE_OFFSET(FORMAT)] = "BPF object format invalid",
> [ERRCODE_OFFSET(KVERSION)] = "'version' section incorrect or lost",
> - [ERRCODE_OFFSET(ENDIAN)] = "Endian missmatch",
> + [ERRCODE_OFFSET(ENDIAN)] = "Endian mismatch",
> [ERRCODE_OFFSET(INTERNAL)] = "Internal error in libbpf",
> [ERRCODE_OFFSET(RELOC)] = "Relocation failed",
> [ERRCODE_OFFSET(VERIFY)] = "Kernel verifier blocks program loading",
> diff --git a/tools/lib/bpf/libbpf.h b/tools/lib/bpf/libbpf.h
> index 722f46b..148df36 100644
> --- a/tools/lib/bpf/libbpf.h
> +++ b/tools/lib/bpf/libbpf.h
> @@ -19,7 +19,7 @@ enum libbpf_errno {
> LIBBPF_ERRNO__LIBELF = __LIBBPF_ERRNO__START,
> LIBBPF_ERRNO__FORMAT, /* BPF object format invalid */
> LIBBPF_ERRNO__KVERSION, /* Incorrect or no 'version' section */
> - LIBBPF_ERRNO__ENDIAN, /* Endian missmatch */
> + LIBBPF_ERRNO__ENDIAN, /* Endian mismatch */
> LIBBPF_ERRNO__INTERNAL, /* Internal error in libbpf */
> LIBBPF_ERRNO__RELOC, /* Relocation failed */
> LIBBPF_ERRNO__LOAD, /* Load program failure for unknown reason */
> --
> 2.8.1
next prev parent reply other threads:[~2016-06-28 14:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-28 12:23 [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch" Colin King
2016-06-28 14:13 ` Arnaldo Carvalho de Melo [this message]
2016-06-29 0:41 ` Wangnan (F)
2016-07-01 6:46 ` [tip:perf/core] tools lib bpf: Fix " tip-bot for Colin Ian King
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=20160628141325.GA7137@redhat.com \
--to=acme@redhat.com \
--cc=ast@kernel.org \
--cc=colin.king@canonical.com \
--cc=hekuang@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@kernel.org \
--cc=wangnan0@huawei.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 NNTP newsgroup(s).