2022-05-23 05:47:53

by Julia Lawall

[permalink] [raw]
Subject: [PATCH] s390/bpf: fix typo in comment

Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <[email protected]>

---
arch/s390/net/bpf_jit_comp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c
index aede9a3ca3f7..af35052d06ed 100644
--- a/arch/s390/net/bpf_jit_comp.c
+++ b/arch/s390/net/bpf_jit_comp.c
@@ -1809,7 +1809,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
/*
* Three initial passes:
* - 1/2: Determine clobbered registers
- * - 3: Calculate program size and addrs arrray
+ * - 3: Calculate program size and addrs array
*/
for (pass = 1; pass <= 3; pass++) {
if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) {



2022-05-23 06:35:53

by Ilya Leoshkevich

[permalink] [raw]
Subject: Re: [PATCH] s390/bpf: fix typo in comment

On Sat, 2022-05-21 at 13:11 +0200, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>
>
> ---
>  arch/s390/net/bpf_jit_comp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/net/bpf_jit_comp.c
> b/arch/s390/net/bpf_jit_comp.c
> index aede9a3ca3f7..af35052d06ed 100644
> --- a/arch/s390/net/bpf_jit_comp.c
> +++ b/arch/s390/net/bpf_jit_comp.c
> @@ -1809,7 +1809,7 @@ struct bpf_prog *bpf_int_jit_compile(struct
> bpf_prog *fp)
>         /*
>          * Three initial passes:
>          *   - 1/2: Determine clobbered registers
> -        *   - 3:   Calculate program size and addrs arrray
> +        *   - 3:   Calculate program size and addrs array
>          */
>         for (pass = 1; pass <= 3; pass++) {
>                 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth))
> {
>

Thanks!

Acked-by: Ilya Leoshkevich <[email protected]>

2022-05-23 09:44:57

by Heiko Carstens

[permalink] [raw]
Subject: Re: [PATCH] s390/bpf: fix typo in comment

On Mon, May 23, 2022 at 12:22:13AM +0200, Ilya Leoshkevich wrote:
> On Sat, 2022-05-21 at 13:11 +0200, Julia Lawall wrote:
> > Spelling mistake (triple letters) in comment.
> > Detected with the help of Coccinelle.
> >
> > Signed-off-by: Julia Lawall <[email protected]>
> >
> > ---
> > ?arch/s390/net/bpf_jit_comp.c |??? 2 +-
> > ?1 file changed, 1 insertion(+), 1 deletion(-)
...
>
> Thanks!
>
> Acked-by: Ilya Leoshkevich <[email protected]>

Applied, thanks!

2022-05-23 18:47:29

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] s390/bpf: fix typo in comment

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <[email protected]>:

On Sat, 21 May 2022 13:11:34 +0200 you wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>
>
> ---
> arch/s390/net/bpf_jit_comp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- s390/bpf: fix typo in comment
https://git.kernel.org/bpf/bpf-next/c/ff2095976ca8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html