From 2b1d1e97dc5fff821985547deeaeddb6ce16c323 Mon Sep 17 00:00:00 2001 From: Xiaolong Ye Date: Thu, 29 Nov 2018 16:22:19 +0800 Subject: [PATCH] net/ifcvf: fix typo on struct name 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") Cc: stable@dpdk.org Signed-off-by: Xiaolong Ye Acked-by: Xiao Wang --- 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 f026c70ab5..c15c691078 100644 --- a/drivers/net/ifc/base/ifcvf.h +++ b/drivers/net/ifc/base/ifcvf.h @@ -121,7 +121,7 @@ struct ifcvf_hw { u8 notify_region; 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; u16 *notify_addr[IFCVF_MAX_QUEUES * 2]; -- 2.20.1