[dpdk-dev] [PATCH v3] app/testpmd: fix return value in portlist parser

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 20 21:41:11 CET 2020


On 2/20/2020 5:39 PM, Hariprasad Govindharajan wrote:
> The function parse_port_list() is designed to return
> unsigned int value. After sanitizing the inputs,
> it is returning -1. Changed it to return 0.
> 
> Fixes: 2df00d562d20 ("app/testpmd: add --portlist option")
> Cc: hariprasad.govindharajan at intel.com
> 
> Signed-off-by: Hariprasad Govindharajan <hariprasad.govindharajan at intel.com>

(Carrying ack from previous version)
Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list