On Tue, May 21, 2013 at 3:39 PM, Fabio Estevam <[email protected]> wrote:

> On Tue, May 21, 2013 at 3:26 PM, Otavio Salvador
> <[email protected]> wrote:
>
> > When I looked at this code I didn't change it because it raises a
> warning.
> > So it returns the status if any failed.
>
> Which warning are you talking about? Build warning or run-time warning?
>
> I did not see any of these here.
>
> status is zero at that point of code, so we should not 'return 0' on
> failure.
>

In the loop; it does:

status |= fsl...

so it gets the output of it. In case any fails it won't be 0.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to