summaryrefslogtreecommitdiff
path: root/drivers/mmc/bcm2835_sdhci.c
diff options
context:
space:
mode:
authorJorgen Lundman <lundman@lundman.net>2014-11-07 10:08:35 +0900
committerTom Rini <trini@ti.com>2014-11-10 16:25:27 -0500
commite183de0d3efccd77b4a7b9d1395a9f29bba68e26 (patch)
treedbae37bcf493dd637e0bcae5aa9cde4d0ac7d1f1 /drivers/mmc/bcm2835_sdhci.c
parent6c5f4aef02ae76357a5d85303c9890619aad0293 (diff)
downloadu-boot-imx-e183de0d3efccd77b4a7b9d1395a9f29bba68e26.zip
u-boot-imx-e183de0d3efccd77b4a7b9d1395a9f29bba68e26.tar.gz
u-boot-imx-e183de0d3efccd77b4a7b9d1395a9f29bba68e26.tar.bz2
ZFS: Clean up cppcheck warnings where relevant, leaked memory etc
In a message from Wolfgang Denk highlighting warnings from cppcheck, the patch will address those that are correctly diagnosed. Some are false-positives: > [fs/zfs/zfs.c:937]: (error) Memory leak: l dmu_read() allocates "l" if successful, so error-case should not free it. > [fs/zfs/zfs.c:1141]: (error) Memory leak: dnbuf dmu_read() allocates "dnbuf" if successful, so error-case should not free it. > [fs/zfs/zfs.c:1372]: (error) Memory leak: osp zio_read() allocates "osp" if successful, so error-case should not free it. > [fs/zfs/zfs.c:1726]: (error) Memory leak: nvlist int_zfs_fetch_nvlist() allocates "nvlist" if successful, so error-case should not free it. Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Diffstat (limited to 'drivers/mmc/bcm2835_sdhci.c')
0 files changed, 0 insertions, 0 deletions