diff options
author | Chin Liang See <clsee@altera.com> | 2013-12-18 11:16:01 -0600 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-01-08 19:02:41 +0200 |
commit | fd26b5490bef8e8a37e33a9b3c4960d7a8734067 (patch) | |
tree | 2b1f2e05311e25cce469c7e3cdaa142819a91bdf /drivers/net/greth.h | |
parent | dae6c6ba95f61326e8012c2fec372a6735ba46b9 (diff) | |
download | u-boot-imx-fd26b5490bef8e8a37e33a9b3c4960d7a8734067.zip u-boot-imx-fd26b5490bef8e8a37e33a9b3c4960d7a8734067.tar.gz u-boot-imx-fd26b5490bef8e8a37e33a9b3c4960d7a8734067.tar.bz2 |
mmc/dwmmc: Using calloc instead malloc
To enhance the SDMMC DesignWare driver to use calloc instead of
malloc. This will avoid the incident that uninitialized members
of mmc structure are later used for NULL comparison.
Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Mischa Jonker <mjonker@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Andy Fleming <afleming@freescale.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'drivers/net/greth.h')
0 files changed, 0 insertions, 0 deletions