diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-09-12 10:35:52 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-09-20 17:55:36 +0200 |
commit | 3f786a8b6f586cb19925e2e9cc45fd0dacf40356 (patch) | |
tree | ecba95ba0916d8a83babf430dfb7cd46ddb93561 /common/env_dataflash.c | |
parent | 59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45 (diff) | |
download | u-boot-imx-3f786a8b6f586cb19925e2e9cc45fd0dacf40356.zip u-boot-imx-3f786a8b6f586cb19925e2e9cc45fd0dacf40356.tar.gz u-boot-imx-3f786a8b6f586cb19925e2e9cc45fd0dacf40356.tar.bz2 |
mmc: fsl_esdhc: Check the result from malloc()
malloc can fail, so we should better check its return value before using it.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'common/env_dataflash.c')
0 files changed, 0 insertions, 0 deletions