[dpdk-stable] patch 'test/bpf: fix error message' has been queued to stable release 19.11.9

Christian Ehrhardt christian.ehrhardt at canonical.com
Mon May 17 18:09:15 CEST 2021


Hi,

FYI, your patch has been queued to stable release 19.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/19/21. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/c0be59c04371efa09e71a1186ab6ec029f239a47

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From c0be59c04371efa09e71a1186ab6ec029f239a47 Mon Sep 17 00:00:00 2001
From: "Min Hu (Connor)" <humin29 at huawei.com>
Date: Wed, 21 Apr 2021 19:36:53 +0800
Subject: [PATCH] test/bpf: fix error message

[ upstream commit 7eff355b6983872ce4d2817ea8017d21320489e1 ]

This patch fixed wrong error variable in logging message.

Fixes: 83633ba23076 ("test/bpf: fix few small issues")

Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
---
 app/test/test_bpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index 4a61a7d7cb..88048b4644 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -2744,7 +2744,7 @@ run_test(const struct bpf_test *tst)
 			printf("%s@%d: check_result(%s) failed, "
 				"error: %d(%s);\n",
 				__func__, __LINE__, tst->name,
-				rv, strerror(ret));
+				rv, strerror(rv));
 		}
 	}
 
-- 
2.31.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-05-17 17:40:34.349517242 +0200
+++ 0126-test-bpf-fix-error-message.patch	2021-05-17 17:40:29.351810894 +0200
@@ -1 +1 @@
-From 7eff355b6983872ce4d2817ea8017d21320489e1 Mon Sep 17 00:00:00 2001
+From c0be59c04371efa09e71a1186ab6ec029f239a47 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7eff355b6983872ce4d2817ea8017d21320489e1 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 7c3de96c62..527c06b807 100644
+index 4a61a7d7cb..88048b4644 100644
@@ -21 +22 @@
-@@ -3207,7 +3207,7 @@ run_test(const struct bpf_test *tst)
+@@ -2744,7 +2744,7 @@ run_test(const struct bpf_test *tst)


More information about the stable mailing list