> -----Original Message-----
> From: Li Han [mailto:[email protected]]
> Sent: Wednesday, November 7, 2018 6:10 AM
> To: Pattan, Reshma <[email protected]>
> Cc: [email protected]; Li Han <[email protected]>
> Subject: [PATCH v3] [dpdk-dev] app/proc-info: fix port mask parse issue
> 
> parse_portmask return type is int,but global variable "enabled_port_mask" type
> is uint32_t.so in proc_info_parse_args function,when parse_portmask return -
> 1,"enabled_port_mask" will get a huge value and "if (enabled_port_mask == 0)"
> will never happen.
> 
> Fixes: 22561383ea17 ("app: replace dump_cfg by proc_info")
> Signed-off-by: Li Han <[email protected]>

Acked-by: Reshma Pattan <[email protected]>

Reply via email to