On Thu, Aug 20, 2015 at 11:45:43AM +0200, Thierry Reding wrote:

> From: Thierry Reding <tred...@nvidia.com>
> 
> GCC 5.1 starts warning for comparisons such as !a > 0, assuming that the
> negation was meant to apply to the whole expression rather than just the
> left operand.
> 
> Indeed the comparison in the FIT loadable code is confusingly written,
> though it does end up doing the right thing. Rewrite the condition to be
> more explicit, that is, iterate over strings until they're exhausted.
> 
> Signed-off-by: Thierry Reding <tred...@nvidia.com>
> Reviewed-by: Tom Rini <tr...@konsulko.com>
> Reviewed-by: Simon Glass <s...@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to