[U-Boot] [PATCH] mmc: fsl_esdhc: Check the result from malloc()

Stefano Babic sbabic at denx.de
Fri Sep 20 18:04:15 CEST 2013


On 12/09/2013 15:35, Fabio Estevam wrote:
> malloc can fail, so we should better check its return value before using it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---


Applied to u-boot-imx, thanks!

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list