* [dpdk-stable] [PATCH v2 07/12] net/nfp: fix build when debug enabled
[not found] ` <20180109121057.59750-1-ferruh.yigit@intel.com>
@ 2018-01-09 12:10 ` Ferruh Yigit
2018-01-10 12:09 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Ferruh Yigit @ 2018-01-09 12:10 UTC (permalink / raw)
To: Thomas Monjalon, Allain Legacy, Matt Peters, Alejandro Lucero
Cc: dev, Ferruh Yigit, Stephen Hemminger, stable
build error:
.../drivers/net/nfp/nfp_net.c:1497:8: error:
‘dev_data’ undeclared (first use in this function); did you mean
‘dev_t’?
dev_data->port_id);
^
Fixes: 7ccf1115f0ab ("net/nfp: fix jumbo settings")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
drivers/net/nfp/nfp_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index b5f24e36e..198db6733 100644
--- a/drivers/net/nfp/nfp_net.c
+++ b/drivers/net/nfp/nfp_net.c
@@ -1494,7 +1494,7 @@ nfp_net_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu)
/* mtu setting is forbidden if port is started */
if (dev->data->dev_started) {
PMD_DRV_LOG(ERR, "port %d must be stopped before configuration",
- dev_data->port_id);
+ dev->data->port_id);
return -EBUSY;
}
--
2.14.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [PATCH v2 07/12] net/nfp: fix build when debug enabled
2018-01-09 12:10 ` [dpdk-stable] [PATCH v2 07/12] net/nfp: fix build when debug enabled Ferruh Yigit
@ 2018-01-10 12:09 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2018-01-10 12:09 UTC (permalink / raw)
To: Thomas Monjalon, Allain Legacy, Matt Peters, Alejandro Lucero
Cc: dev, Stephen Hemminger, stable
On 1/9/2018 12:10 PM, Ferruh Yigit wrote:
> build error:
> .../drivers/net/nfp/nfp_net.c:1497:8: error:
> ‘dev_data’ undeclared (first use in this function); did you mean
> ‘dev_t’?
> dev_data->port_id);
> ^
>
> Fixes: 7ccf1115f0ab ("net/nfp: fix jumbo settings")
> Cc: stable@dpdk.org
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
This one squashed with the relevant commit in next-net.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-10 12:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20171219063840.18981-1-stephen@networkplumber.org>
[not found] ` <20180109121057.59750-1-ferruh.yigit@intel.com>
2018-01-09 12:10 ` [dpdk-stable] [PATCH v2 07/12] net/nfp: fix build when debug enabled Ferruh Yigit
2018-01-10 12:09 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).