[U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart
Pantelis Antoniou
panto at antoniou-consulting.com
Tue Jun 10 18:01:38 CEST 2014
On Jun 10, 2014, at 7:00 PM, Stephen Warren wrote:
> 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?
I will apply the patch, but it will go out with the rest on the next
mmc pull request this week.
Regards
-- Pantelis
More information about the U-Boot
mailing list