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: NFabio Estevam <fabio.estevam@freescale.com>
Showing
想要评论请 注册 或 登录
malloc can fail, so we should better check its return value before using it.
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>