[U-Boot] [PATCH-V2 8/9] env_nand.c: print error message and fail gracefully

Scott Wood scottwood at freescale.com
Tue Jan 26 00:48:47 CET 2010


On Sat, Jan 16, 2010 at 09:50:26PM -0700, John Rigby wrote:
> From: Wolfgang Denk <wd at denx.de>
> 
> env_nand.c would crash silently if a malloc() for the environment
> buffers failed; make it print an error message and fail gracefully,
> i. e. use the default environment then.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Acked-by: John Rigby <jcrigby at gmail.com>
> ---

Applied to u-boot-nand-flash

-Scott


More information about the U-Boot mailing list