[dpdk-stable] patch 'examples/vhost_crypto: fix bracket' has been queued to stable release 18.11.1
Kevin Traynor
ktraynor at redhat.com
Fri Dec 14 19:24:28 CET 2018
Hi,
FYI, your patch has been queued to stable release 18.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/18/18. 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.
Thanks.
Kevin Traynor
---
>From b3013022e7c144df6030137d8116734a2784d407 Mon Sep 17 00:00:00 2001
From: Fan Zhang <roy.fan.zhang at intel.com>
Date: Tue, 11 Dec 2018 15:09:51 +0000
Subject: [PATCH] examples/vhost_crypto: fix bracket
[ upstream commit 57f9a9fc3c54aaae838698d846fb124836900c7a ]
This patch fixes a missed bracket bug in the code.
Fixes: e1d90eaa83ff ("examples/vhost_crypto: fix zero copy")
Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
examples/vhost_crypto/main.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
index f08babd97..3deb5263f 100644
--- a/examples/vhost_crypto/main.c
+++ b/examples/vhost_crypto/main.c
@@ -504,9 +504,10 @@ main(int argc, char *argv[])
RTE_STR(VHOST_CRYPTO_CDEV_NAME_AESNI_MB_PMD)) ||
strstr(dev_info.driver_name,
- RTE_STR(VHOST_CRYPTO_CDEV_NAME_AESNI_GCM_PMD)))
- RTE_LOG(ERR, USER1, "Cannot enable zero-copy in %s\n",
+ RTE_STR(VHOST_CRYPTO_CDEV_NAME_AESNI_GCM_PMD))) {
+ RTE_LOG(ERR, USER1, "Cannot enable zero-copy in %s\n",
dev_info.driver_name);
- ret = -EPERM;
- goto error_exit;
+ ret = -EPERM;
+ goto error_exit;
+ }
}
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-12-14 18:23:18.979291415 +0000
+++ 0026-examples-vhost_crypto-fix-bracket.patch 2018-12-14 18:23:18.000000000 +0000
@@ -1,12 +1,13 @@
-From 57f9a9fc3c54aaae838698d846fb124836900c7a Mon Sep 17 00:00:00 2001
+From b3013022e7c144df6030137d8116734a2784d407 Mon Sep 17 00:00:00 2001
From: Fan Zhang <roy.fan.zhang at intel.com>
Date: Tue, 11 Dec 2018 15:09:51 +0000
Subject: [PATCH] examples/vhost_crypto: fix bracket
+[ upstream commit 57f9a9fc3c54aaae838698d846fb124836900c7a ]
+
This patch fixes a missed bracket bug in the code.
Fixes: e1d90eaa83ff ("examples/vhost_crypto: fix zero copy")
-Cc: stable at dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
More information about the stable
mailing list