2020-06-23 08:44:25

by Colin King

[permalink] [raw]
Subject: [PATCH][next] libbpf: fix spelling mistake "kallasyms" -> "kallsyms"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a pr_warn message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
tools/lib/bpf/libbpf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
index 18461deb1b19..deea27aadcef 100644
--- a/tools/lib/bpf/libbpf.c
+++ b/tools/lib/bpf/libbpf.c
@@ -5741,7 +5741,7 @@ static int bpf_object__read_kallsyms_file(struct bpf_object *obj)
if (ret == EOF && feof(f))
break;
if (ret != 3) {
- pr_warn("failed to read kallasyms entry: %d\n", ret);
+ pr_warn("failed to read kallsyms entry: %d\n", ret);
err = -EINVAL;
goto out;
}
--
2.27.0


2020-06-23 18:57:34

by Andrii Nakryiko

[permalink] [raw]
Subject: Re: [PATCH][next] libbpf: fix spelling mistake "kallasyms" -> "kallsyms"

On Tue, Jun 23, 2020 at 1:43 AM Colin King <[email protected]> wrote:
>
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a pr_warn message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Acked-by: Andrii Nakryiko <[email protected]>

> tools/lib/bpf/libbpf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
> index 18461deb1b19..deea27aadcef 100644
> --- a/tools/lib/bpf/libbpf.c
> +++ b/tools/lib/bpf/libbpf.c
> @@ -5741,7 +5741,7 @@ static int bpf_object__read_kallsyms_file(struct bpf_object *obj)
> if (ret == EOF && feof(f))
> break;
> if (ret != 3) {
> - pr_warn("failed to read kallasyms entry: %d\n", ret);
> + pr_warn("failed to read kallsyms entry: %d\n", ret);
> err = -EINVAL;
> goto out;
> }
> --
> 2.27.0
>

2020-06-24 14:20:25

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH][next] libbpf: fix spelling mistake "kallasyms" -> "kallsyms"

On 6/23/20 10:42 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a pr_warn message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied, thanks!