[U-Boot-Users] [PATCH 1/1] FIS: repare incorrect return value with ramdisk handling
Wolfgang Denk
wd at denx.de
Sun Jul 13 15:25:10 CEST 2008
In message <1215769853-4217-2-git-send-email-monstr at seznam.cz> you wrote:
> From: Michal Simek <monstr at monstr.eu>
>
> Microblaze and PowerPC use boot_get_ramdisk for loading
> ramdisk to memory with checking return value.
> Return 0 means success. Return 1 means failed.
> Here is correspond part of code from bootm.c which check
> return code.
>
> ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC,
> &rd_data_start, &rd_data_end);
> if (ret)
> goto error;
>
> Signed-off-by: Michal Simek <monstr at monstr.eu>
> ---
> common/image.c | 16 ++++++++--------
> 1 files changed, 8 insertions(+), 8 deletions(-)
As far as I can tell this is exactly the same patch as submitted
earlier. I think this was just by mistake?
I committed the first one - please check.
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
Even if you aren't in doubt, consider the mental welfare of the per-
son who has to maintain the code after you, and who will probably put
parens in the wrong place. - Larry Wall in the perl man page
More information about the U-Boot
mailing list