[PATCH] s390/bpf: fix typo in comment

Julia Lawall posted 1 patch 3 years, 11 months ago
arch/s390/net/bpf_jit_comp.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] s390/bpf: fix typo in comment
Posted by Julia Lawall 3 years, 11 months ago
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 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)) {
Re: [PATCH] s390/bpf: fix typo in comment
Posted by patchwork-bot+netdevbpf@kernel.org 3 years, 11 months ago
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

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 <Julia.Lawall@inria.fr>
> 
> ---
>  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
Re: [PATCH] s390/bpf: fix typo in comment
Posted by Ilya Leoshkevich 3 years, 11 months ago
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 <Julia.Lawall@inria.fr>
> 
> ---
>  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 <iii@linux.ibm.com>
Re: [PATCH] s390/bpf: fix typo in comment
Posted by Heiko Carstens 3 years, 11 months ago
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 <Julia.Lawall@inria.fr>
> > 
> > ---
> >  arch/s390/net/bpf_jit_comp.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
...
> 
> Thanks!
> 
> Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>

Applied, thanks!