[U-Boot] [PATCH 1/9] wandboard: Return error if the SDHC port index is invalid

Fabio Estevam festevam at gmail.com
Tue May 21 20:49:53 CEST 2013


On Tue, May 21, 2013 at 3:44 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:

> In the loop; it does:
>
> status |= fsl...
>
> so it gets the output of it. In case any fails it won't be 0.

It's good practice to return immediately when an error condition happens.


More information about the U-Boot mailing list