2018-11-25 23:33:52

by Colin King

[permalink] [raw]
Subject: [PATCH] bpf: btf: fix spelling mistake "Memmber" -> "Member"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a btf_verifier_log_member message,
fix it.

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

diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c
index 69da9169819a..a09b2f94ab25 100644
--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -1621,7 +1621,7 @@ static s32 btf_struct_check_meta(struct btf_verifier_env *env,

if (BITS_ROUNDUP_BYTES(member->offset) > struct_size) {
btf_verifier_log_member(env, t, member,
- "Memmber bits_offset exceeds its struct size");
+ "Member bits_offset exceeds its struct size");
return -EINVAL;
}

--
2.19.1



2018-11-26 00:30:23

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH] bpf: btf: fix spelling mistake "Memmber" -> "Member"

On 11/26/2018 12:32 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a btf_verifier_log_member message,
> fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied to bpf-next, thanks!