Re: [U-Boot] [PATCH v2] mmc/dwmmc: Using calloc instead malloc

2014-01-08 Thread Pantelis Antoniou
Hi Chin, On Dec 18, 2013, at 7:16 PM, Chin Liang See wrote: > 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 > Cc: Rajeshwa

[U-Boot] [PATCH v2] mmc/dwmmc: Using calloc instead malloc

2013-12-18 Thread Chin Liang See
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 Cc: Rajeshwari Shinde Cc: Jaehoon Chung Cc: Mischa Jonker Cc: Alexey Brodkin Cc: A