diff mbox series

s390/bpf: fix typo in comment

Message ID 20220521111145.81697-84-Julia.Lawall@inria.fr (mailing list archive)
State Accepted
Commit ff2095976ca83d01f4297417fec89f6a1549a5a9
Delegated to: BPF
Headers show
Series s390/bpf: fix typo in comment | expand

Checks

Context Check Description
bpf/vmtest-bpf-next-PR fail PR summary
bpf/vmtest-bpf-next-VM_Test-3 fail Logs for Kernel LATEST on z15 with gcc
bpf/vmtest-bpf-next-VM_Test-1 success Logs for Kernel LATEST on ubuntu-latest with gcc
bpf/vmtest-bpf-next-VM_Test-2 success Logs for Kernel LATEST on ubuntu-latest with llvm-15
netdev/tree_selection success Not a local patch

Commit Message

Julia Lawall May 21, 2022, 11:11 a.m. UTC
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(-)

Comments

Ilya Leoshkevich May 22, 2022, 10:22 p.m. UTC | #1
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>
Heiko Carstens May 23, 2022, 9:38 a.m. UTC | #2
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!
patchwork-bot+netdevbpf@kernel.org May 23, 2022, 6:30 p.m. UTC | #3
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!
diff mbox series

Patch

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)) {