Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432933 > unrolled thread

[PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"

Started byColin King <colin.king@canonical.com>
First post2016-06-28 14:30 +0200
Last post2016-07-01 08:50 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch" Colin King <colin.king@canonical.com> - 2016-06-28 14:30 +0200
    Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" ->  "mismatch" Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-06-28 16:20 +0200
    Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" ->  "mismatch" "Wangnan (F)" <wangnan0@huawei.com> - 2016-06-29 02:50 +0200
    [tip:perf/core] tools lib bpf: Fix spelling mistake: "missmatch" ->  "mismatch" tip-bot for Colin Ian King <tipbot@zytor.com> - 2016-07-01 08:50 +0200

#1432933 — [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"

FromColin King <colin.king@canonical.com>
Date2016-06-28 14:30 +0200
Subject[PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"
Message-ID<rP0jn-6Z4-11@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake

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

[toc] | [next] | [standalone]


#1433022 — Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"

FromArnaldo Carvalho de Melo <acme@redhat.com>
Date2016-06-28 16:20 +0200
SubjectRe: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"
Message-ID<rP21P-8cR-21@gated-at.bofh.it>
In reply to#1432933
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

[toc] | [prev] | [next] | [standalone]


#1433382 — Re: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"

From"Wangnan (F)" <wangnan0@huawei.com>
Date2016-06-29 02:50 +0200
SubjectRe: [PATCH] tools lib bpf: fix spelling mistake: "missmatch" -> "mismatch"
Message-ID<rPbRv-5D5-1@gated-at.bofh.it>
In reply to#1432933

On 2016/6/28 20:23, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> trivial fix to spelling mistake
>
> 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 */

Oops!

Thank you for pointing it out!

>   	LIBBPF_ERRNO__INTERNAL,	/* Internal error in libbpf */
>   	LIBBPF_ERRNO__RELOC,	/* Relocation failed */
>   	LIBBPF_ERRNO__LOAD,	/* Load program failure for unknown reason */

[toc] | [prev] | [next] | [standalone]


#1435062 — [tip:perf/core] tools lib bpf: Fix spelling mistake: "missmatch" -> "mismatch"

Fromtip-bot for Colin Ian King <tipbot@zytor.com>
Date2016-07-01 08:50 +0200
Subject[tip:perf/core] tools lib bpf: Fix spelling mistake: "missmatch" -> "mismatch"
Message-ID<rQ0r1-3gE-49@gated-at.bofh.it>
In reply to#1432933
Commit-ID:  de8a63bd5076761fad4e236c93350fdf297708be
Gitweb:     http://git.kernel.org/tip/de8a63bd5076761fad4e236c93350fdf297708be
Author:     Colin Ian King <colin.king@canonical.com>
AuthorDate: Tue, 28 Jun 2016 13:23:37 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 29 Jun 2016 10:07:34 -0300

tools lib bpf: Fix spelling mistake: "missmatch" -> "mismatch"

Trivial fix to spelling mistake

Signed-off-by: Colin King <colin.king@canonical.com>
Acked-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: He Kuang <hekuang@huawei.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1467116617-8318-1-git-send-email-colin.king@canonical.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.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 */

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web