From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: check error conditinos for every loop iteration Date: Fri, 18 Apr 2014 00:26:56 +0200 Message-ID: <2364421.nEfYD68tnk@xps13> References: <1397645440-14813-1-git-send-email-nhorman@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Neil Horman Return-path: In-Reply-To: <1397645440-14813-1-git-send-email-nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 > Reported-by: Pablo De Lara Guarch Acked-by: Thomas Monjalon 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