[U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

Stephen Warren swarren at wwwdotorg.org
Fri May 30 23:11:17 CEST 2014


On 05/23/2014 12:47 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> Rather than just returning -1 everywhere, try to return something
> meaningful from mmc_select_hwpart(). Note that most other MMC functions
> don't do this, including functions called from mmc_select_hwpart(), so
> I'm not sure how effective this will be. Still, it's one less place with
> hard-coded -1.

Pantelis, does this look good?


More information about the U-Boot mailing list