* [PATCH] app/testpmd: remove unnecessary cast @ 2017-10-11 6:59 Zhiyong Yang 2017-10-11 22:56 ` Ferruh Yigit 0 siblings, 1 reply; 4+ messages in thread From: Zhiyong Yang @ 2017-10-11 6:59 UTC (permalink / raw) To: dev; +Cc: ferruh.yigit, Zhiyong Yang Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> --- app/test-pmd/testpmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 69d64026c..4595e664c 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1321,14 +1321,14 @@ stop_packet_forwarding(void) void dev_set_link_up(portid_t pid) { - if (rte_eth_dev_set_link_up((uint8_t)pid) < 0) + if (rte_eth_dev_set_link_up(pid) < 0) printf("\nSet link up fail.\n"); } void dev_set_link_down(portid_t pid) { - if (rte_eth_dev_set_link_down((uint8_t)pid) < 0) + if (rte_eth_dev_set_link_down(pid) < 0) printf("\nSet link down fail.\n"); } -- 2.13.3 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] app/testpmd: remove unnecessary cast 2017-10-11 6:59 [PATCH] app/testpmd: remove unnecessary cast Zhiyong Yang @ 2017-10-11 22:56 ` Ferruh Yigit 2017-10-11 22:59 ` Ferruh Yigit 2017-10-11 22:59 ` Ferruh Yigit 0 siblings, 2 replies; 4+ messages in thread From: Ferruh Yigit @ 2017-10-11 22:56 UTC (permalink / raw) To: Zhiyong Yang, dev On 10/11/2017 7:59 AM, Zhiyong Yang wrote: > Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] app/testpmd: remove unnecessary cast 2017-10-11 22:56 ` Ferruh Yigit @ 2017-10-11 22:59 ` Ferruh Yigit 2017-10-11 22:59 ` Ferruh Yigit 1 sibling, 0 replies; 4+ messages in thread From: Ferruh Yigit @ 2017-10-11 22:59 UTC (permalink / raw) To: Zhiyong Yang, dev On 10/11/2017 11:56 PM, Ferruh Yigit wrote: > On 10/11/2017 7:59 AM, Zhiyong Yang wrote: >> Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> > > Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] app/testpmd: remove unnecessary cast 2017-10-11 22:56 ` Ferruh Yigit 2017-10-11 22:59 ` Ferruh Yigit @ 2017-10-11 22:59 ` Ferruh Yigit 1 sibling, 0 replies; 4+ messages in thread From: Ferruh Yigit @ 2017-10-11 22:59 UTC (permalink / raw) To: Zhiyong Yang, dev On 10/11/2017 11:56 PM, Ferruh Yigit wrote: > On 10/11/2017 7:59 AM, Zhiyong Yang wrote: >> Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> > > Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Applied to dpdk-next-net/master, thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-11 22:59 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-11 6:59 [PATCH] app/testpmd: remove unnecessary cast Zhiyong Yang 2017-10-11 22:56 ` Ferruh Yigit 2017-10-11 22:59 ` Ferruh Yigit 2017-10-11 22:59 ` Ferruh Yigit
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.