[dpdk-stable] patch 'net/virtio_user: remove redundant declaration' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Wed Aug 28 15:41:51 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 09/04/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/5302e07e4b62ba2cc8474898334dd662d9b20fba

Thanks.

Kevin Traynor

---
>From 5302e07e4b62ba2cc8474898334dd662d9b20fba Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu, 11 Jul 2019 13:03:07 -0700
Subject: [PATCH] net/virtio_user: remove redundant declaration

[ upstream commit 939aa0df044d856d36b0eb44231f03dc28ede6aa ]

The rte_vdev_driver is declared twice.
The first one is not necessary.

Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 drivers/net/virtio/virtio_user_ethdev.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c
index 5781c0948..63b647dc5 100644
--- a/drivers/net/virtio/virtio_user_ethdev.c
+++ b/drivers/net/virtio/virtio_user_ethdev.c
@@ -397,6 +397,4 @@ get_integer_arg(const char *key __rte_unused,
 }
 
-static struct rte_vdev_driver virtio_user_driver;
-
 static struct rte_eth_dev *
 virtio_user_eth_dev_alloc(struct rte_vdev_device *vdev)
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-08-28 14:32:32.685002706 +0100
+++ 0016-net-virtio_user-remove-redundant-declaration.patch	2019-08-28 14:32:31.624957739 +0100
@@ -1 +1 @@
-From 939aa0df044d856d36b0eb44231f03dc28ede6aa Mon Sep 17 00:00:00 2001
+From 5302e07e4b62ba2cc8474898334dd662d9b20fba Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 939aa0df044d856d36b0eb44231f03dc28ede6aa ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 0a57db730..3fc172573 100644
+index 5781c0948..63b647dc5 100644
@@ -22 +23 @@
-@@ -442,6 +442,4 @@ get_integer_arg(const char *key __rte_unused,
+@@ -397,6 +397,4 @@ get_integer_arg(const char *key __rte_unused,


More information about the stable mailing list