[dpdk-stable] patch 'examples/vhost_crypto: remove unused function' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Mon Jun 24 17:25:23 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/27/19. 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/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/7c054a7e1458c42c882aaeda47c84a1d45247bd0

Thanks.

Kevin Traynor

---
>From 7c054a7e1458c42c882aaeda47c84a1d45247bd0 Mon Sep 17 00:00:00 2001
From: Fan Zhang <roy.fan.zhang at intel.com>
Date: Wed, 15 May 2019 17:25:48 +0100
Subject: [PATCH] examples/vhost_crypto: remove unused function

[ upstream commit be7a9518da654abba52939e9334919598669a086 ]

This patch tries to fix the coverity issue of unchecked
return value. Since the function that causes the problem
is unused, it is removed completely.

Coverity issue: 336816
Fixes: f5188211c721 ("examples/vhost_crypto: add sample application")

Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
Reviewed-by: Jens Freimann <jfreimann at redhat.com>
Acked-by: Marko Kovacevic <marko.kovacevic at intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
 examples/vhost_crypto/main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
index 3deb5263f..c6d55c840 100644
--- a/examples/vhost_crypto/main.c
+++ b/examples/vhost_crypto/main.c
@@ -353,10 +353,4 @@ static const struct vhost_device_ops virtio_crypto_device_ops = {
 };
 
-__attribute__((unused))
-static void clrscr(void)
-{
-	system("@cls||clear");
-}
-
 static int
 vhost_crypto_worker(void *arg)
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-06-24 16:18:58.106509435 +0100
+++ 0059-examples-vhost_crypto-remove-unused-function.patch	2019-06-24 16:18:55.133428816 +0100
@@ -1 +1 @@
-From be7a9518da654abba52939e9334919598669a086 Mon Sep 17 00:00:00 2001
+From 7c054a7e1458c42c882aaeda47c84a1d45247bd0 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit be7a9518da654abba52939e9334919598669a086 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index ac7118e7e..cfb9dfda2 100644
+index 3deb5263f..c6d55c840 100644
@@ -26 +27 @@
-@@ -355,10 +355,4 @@ static const struct vhost_device_ops virtio_crypto_device_ops = {
+@@ -353,10 +353,4 @@ static const struct vhost_device_ops virtio_crypto_device_ops = {


More information about the stable mailing list