Re: [dpdk-dev] [PATCH] app/testpmd: fix print unused parameter name

2018-05-14 Thread Thomas Monjalon
14/05/2018 12:38, Matan Azrad: > > Hi > > From: zhiyong.y...@intel.com > > The second parameter "name" in the function rte_eth_dev_detach has been > > already redefined as "char *name __rte_unused", "port_id" is printed instead > > of "name" in testpmd. > > > > Fixes: b65ecf199324 ("devargs: re

Re: [dpdk-dev] [PATCH] app/testpmd: fix print unused parameter name

2018-05-14 Thread Matan Azrad
Hi From: zhiyong.y...@intel.com > The second parameter "name" in the function rte_eth_dev_detach has been > already redefined as "char *name __rte_unused", "port_id" is printed instead > of "name" in testpmd. > > Fixes: b65ecf199324 ("devargs: rename legacy API") > Cc: sta...@dpdk.org Really m

[dpdk-dev] [PATCH] app/testpmd: fix print unused parameter name

2018-05-13 Thread zhiyong . yang
The second parameter "name" in the function rte_eth_dev_detach has been already redefined as "char *name __rte_unused", "port_id" is printed instead of "name" in testpmd. Fixes: b65ecf199324 ("devargs: rename legacy API") Cc: sta...@dpdk.org Signed-off-by: Zhiyong Yang --- app/test-pmd/testpmd.c