[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:39:22 CEST 2013


On Tue, May 21, 2013 at 3:26 PM, Otavio Salvador
<otavio at ossystems.com.br> 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.


More information about the U-Boot mailing list