summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAlexander Stein <alexanders83@web.de>2015-04-17 17:33:17 +0200
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-05-05 12:29:42 +0300
commitebe78bb993423851b947b1e00f76c835c23e29b5 (patch)
tree7af19e2973d93a4ec00750627e9d5e0255de009d /drivers/net
parent253d5bdd64504a1a569b4eb330555e2449fa3d3f (diff)
downloadblackbird-obmc-uboot-ebe78bb993423851b947b1e00f76c835c23e29b5.tar.gz
blackbird-obmc-uboot-ebe78bb993423851b947b1e00f76c835c23e29b5.zip
mmc: bcm2835_sdhci: Use calloc to allocate bcm2835_sdhci_host
We need to clear the allocated memory explicitly as the included struct sdhci_host has function pointers. Those are compared to NULL to test if this (optional) feature is supported. Leaving them undefined let u-boot jump to arbitrary memory. Signed-off-by: Alexander Stein <alexanders83@web.de>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud