[dpdk-dev] [PATCH 2/2] examples: increase port_id range

Stephen Hemminger stephen at networkplumber.org
Wed Aug 9 16:48:31 CEST 2017


On Wed,  9 Aug 2017 16:42:03 +0800
Zhiyong Yang <zhiyong.yang at intel.com> wrote:

> -	BOND_PORT = (uint8_t)retval;
> +	BOND_PORT = (uint16_t)retval;
>  

The cast here is unnecessary (in C). Please remove it.


More information about the dev mailing list