[dpdk-stable] patch 'net/ifcvf: fix typo on struct name' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Fri Dec 14 18:51:49 CET 2018


Hi,

FYI, your patch has been queued to stable release 18.08.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. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.

Thanks.

Kevin Traynor

---
>From e343f0d3c36cccf190f398b68bd03606cb00f341 Mon Sep 17 00:00:00 2001
From: Xiaolong Ye <xiaolong.ye at intel.com>
Date: Thu, 29 Nov 2018 16:22:19 +0800
Subject: [PATCH] net/ifcvf: fix typo on struct name

[ upstream commit 2b1d1e97dc5fff821985547deeaeddb6ce16c323 ]

The struct should be ifcvf_net_config other than ifcvf_net_device_config

The variable is used as named opaque variable, struct fields are not
accessed at all, so using wrong struct type has no effect but it should
be fixed.

Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")

Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
Acked-by: Xiao Wang <xiao.w.wang at intel.com>
---
 drivers/net/ifc/base/ifcvf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ifc/base/ifcvf.h b/drivers/net/ifc/base/ifcvf.h
index badacb615..c04a1d0f7 100644
--- a/drivers/net/ifc/base/ifcvf.h
+++ b/drivers/net/ifc/base/ifcvf.h
@@ -121,5 +121,5 @@ struct ifcvf_hw {
 	u32    notify_off_multiplier;
 	struct ifcvf_pci_common_cfg *common_cfg;
-	struct ifcvf_net_device_config *dev_cfg;
+	struct ifcvf_net_config *dev_cfg;
 	u8     *isr;
 	u16    *notify_base;
-- 
2.19.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2018-12-14 17:49:47.836178848 +0000
+++ 0005-net-ifcvf-fix-typo-on-struct-name.patch	2018-12-14 17:49:47.000000000 +0000
@@ -1,8 +1,10 @@
-From 2b1d1e97dc5fff821985547deeaeddb6ce16c323 Mon Sep 17 00:00:00 2001
+From e343f0d3c36cccf190f398b68bd03606cb00f341 Mon Sep 17 00:00:00 2001
 From: Xiaolong Ye <xiaolong.ye at intel.com>
 Date: Thu, 29 Nov 2018 16:22:19 +0800
 Subject: [PATCH] net/ifcvf: fix typo on struct name
 
+[ upstream commit 2b1d1e97dc5fff821985547deeaeddb6ce16c323 ]
+
 The struct should be ifcvf_net_config other than ifcvf_net_device_config
 
 The variable is used as named opaque variable, struct fields are not
@@ -10,7 +12,6 @@
 be fixed.
 
 Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")
-Cc: stable at dpdk.org
 
 Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
 Acked-by: Xiao Wang <xiao.w.wang at intel.com>
@@ -19,10 +20,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/drivers/net/ifc/base/ifcvf.h b/drivers/net/ifc/base/ifcvf.h
-index f026c70ab..c15c69107 100644
+index badacb615..c04a1d0f7 100644
 --- a/drivers/net/ifc/base/ifcvf.h
 +++ b/drivers/net/ifc/base/ifcvf.h
-@@ -122,5 +122,5 @@ struct ifcvf_hw {
+@@ -121,5 +121,5 @@ struct ifcvf_hw {
  	u32    notify_off_multiplier;
  	struct ifcvf_pci_common_cfg *common_cfg;
 -	struct ifcvf_net_device_config *dev_cfg;


More information about the stable mailing list