Re: [dpdk-dev] [PATCH v1] examples/vm_power_manager: fix unreachable code

2019-04-22 Thread Thomas Monjalon
> > A for loop to MAX_VFS had a break as the last line, so the w++ > > would never get called, breaking out of the loop after the > > first iteration. Remove the break so that the loop can execute > > properly. > > > > Fixes: ace158c4a821 ("examples/vm_power: add check for port count") > > Coverity

Re: [dpdk-dev] [PATCH v1] examples/vm_power_manager: fix unreachable code

2019-04-10 Thread Rami Rosen
David Hunt ‏: > A for loop to MAX_VFS had a break as the last line, so the w++ > would never get called, breaking out of the loop after the > first iteration. Remove the break so that the loop can execute > properly. > > Fixes: ace158c4a821 ("examples/vm_power: add check for port count") > Coveri

[dpdk-dev] [PATCH v1] examples/vm_power_manager: fix unreachable code

2019-04-10 Thread David Hunt
A for loop to MAX_VFS had a break as the last line, so the w++ would never get called, breaking out of the loop after the first iteration. Remove the break so that the loop can execute properly. Fixes: ace158c4a821 ("examples/vm_power: add check for port count") Coverity issue: 337682 Signed-off-