On 20 August 2015 at 03:45, Thierry Reding <thierry.red...@gmail.com> 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> > --- > common/image.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot