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

2014-04-18 Thread Thomas Monjalon
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

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

2014-04-16 Thread 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 Reporte