return mmc_send_cxd_native(card->host, card->rca << 16,
csd, MMC_SEND_CSD);
- csd_tmp = kmalloc(16, GFP_KERNEL);
+ csd_tmp = kzalloc(16, GFP_KERNEL);
if (!csd_tmp)
return -ENOMEM;
cid, MMC_SEND_CID);
}
- cid_tmp = kmalloc(16, GFP_KERNEL);
+ cid_tmp = kzalloc(16, GFP_KERNEL);
if (!cid_tmp)
return -ENOMEM;
* As the ext_csd is so large and mostly unused, we don't store the
* raw block in mmc_card.
*/
- ext_csd = kmalloc(512, GFP_KERNEL);
+ ext_csd = kzalloc(512, GFP_KERNEL);
if (!ext_csd)
return -ENOMEM;