All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bpf/tests: fix copy-and-paste error in double word test
@ 2021-07-21 10:40 Johan Almbladh
  2021-07-26 20:06 ` Andrii Nakryiko
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Almbladh @ 2021-07-21 10:40 UTC (permalink / raw)
  To: ast, daniel, andrii
  Cc: kafai, songliubraving, yhs, john.fastabend, kpsingh,
	Tony.Ambardar, netdev, bpf, Johan Almbladh

This test now operates on DW as stated instead of W, which was
already covered by another test.

Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
---
 lib/test_bpf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/test_bpf.c b/lib/test_bpf.c
index baff847a02da..f6d5d30d01bf 100644
--- a/lib/test_bpf.c
+++ b/lib/test_bpf.c
@@ -4286,8 +4286,8 @@ static struct bpf_test tests[] = {
 		.u.insns_int = {
 			BPF_LD_IMM64(R0, 0),
 			BPF_LD_IMM64(R1, 0xffffffffffffffffLL),
-			BPF_STX_MEM(BPF_W, R10, R1, -40),
-			BPF_LDX_MEM(BPF_W, R0, R10, -40),
+			BPF_STX_MEM(BPF_DW, R10, R1, -40),
+			BPF_LDX_MEM(BPF_DW, R0, R10, -40),
 			BPF_EXIT_INSN(),
 		},
 		INTERNAL,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bpf/tests: fix copy-and-paste error in double word test
  2021-07-21 10:40 [PATCH] bpf/tests: fix copy-and-paste error in double word test Johan Almbladh
@ 2021-07-26 20:06 ` Andrii Nakryiko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrii Nakryiko @ 2021-07-26 20:06 UTC (permalink / raw)
  To: Johan Almbladh
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Martin Lau,
	Song Liu, Yonghong Song, john fastabend, KP Singh, Tony Ambardar,
	Networking, bpf

On Wed, Jul 21, 2021 at 3:41 AM Johan Almbladh
<johan.almbladh@anyfinetworks.com> wrote:
>
> This test now operates on DW as stated instead of W, which was
> already covered by another test.
>
> Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
> ---

Don't know why patchbot didn't send notification, but this got applied
last Friday to bpf-next.

>  lib/test_bpf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/test_bpf.c b/lib/test_bpf.c
> index baff847a02da..f6d5d30d01bf 100644
> --- a/lib/test_bpf.c
> +++ b/lib/test_bpf.c
> @@ -4286,8 +4286,8 @@ static struct bpf_test tests[] = {
>                 .u.insns_int = {
>                         BPF_LD_IMM64(R0, 0),
>                         BPF_LD_IMM64(R1, 0xffffffffffffffffLL),
> -                       BPF_STX_MEM(BPF_W, R10, R1, -40),
> -                       BPF_LDX_MEM(BPF_W, R0, R10, -40),
> +                       BPF_STX_MEM(BPF_DW, R10, R1, -40),
> +                       BPF_LDX_MEM(BPF_DW, R0, R10, -40),
>                         BPF_EXIT_INSN(),
>                 },
>                 INTERNAL,
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-26 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 10:40 [PATCH] bpf/tests: fix copy-and-paste error in double word test Johan Almbladh
2021-07-26 20:06 ` Andrii Nakryiko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.