[U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart
Stephen Warren
swarren at wwwdotorg.org
Tue Jun 10 18:00:05 CEST 2014
On 06/02/2014 12:18 AM, Pantelis Antoniou wrote:
> On May 23, 2014, at 9:47 PM, Stephen Warren wrote:
>> 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.
...
> This does indeed look good.
...
> Acked-by: Pantelis Antoniou <panto at antoniou-consulting.com>
Are you intending to apply this patch, or were you expecting someone
else to?
More information about the U-Boot
mailing list