[U-Boot] return value from do_ext2load

Wolfgang Denk wd at denx.de
Wed Oct 21 20:06:09 CEST 2009


Dear "David Collier",

In message <memo.20091021172317.4412B at postmaster+dexdyne.com.cix.co.uk> you wrote:
> the do_ext2load procedure returns the file length if it succeeds... which
> means you can't do

You make a pretty definitive statement here. What makes you so sure?

Let me tell you that you are wrong.

> Is this part of some vast eternal plan and/or can anyone see a way to
> make it function as desired anyway?

It is working perfectly fine for me.

Of course I don't use old, buggy code as you seem to be doing.

My code contains this commit:

commit 4b7511478b62a539e5b066d19a986b75e5d9a527
Author: Wolfgang Denk <wd at denx.de>
Date:   Tue Jul 28 22:07:37 2009 +0200

    Fix ext2load return code
    
    Make the ext2load command return 0 on success (instead of the file
    length).
...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the beginning there was nothing.
And the Lord said "Let There Be Light!"
And still there was nothing, but at least now you could see it.


More information about the U-Boot mailing list