[dpdk-dev] [PATCH] eal: check error conditinos for every loop iteration

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Apr 18 00:26:56 CEST 2014


2014-04-16 06:50, Neil Horman:
> The return code for rte_cpu_get_flag_enabled is only checked on the
> termination of the for loop that it is called inside, but should be checked
> for every iteration it makes through the for loop.  This is caused by some
> silly missing brackets.  Simply add them in
> 
> Signed-off-by: Neil Horman <nhorman at tuxdriver.com>
> Reported-by: Pablo De Lara Guarch  <pablo.de.lara.guarch at intel.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

It's applied for version 1.6.0r2.
Title is changed: "eal: fix check of all requested CPU features"

Thanks to all for reporting and fixing.
-- 
Thomas


More information about the dev mailing list