]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: mmc: Fix up MMC emulator for valgrind
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:00 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:39 +0000 (13:57 +0800)
commit5abd58f0de66955f14e37da49e9d2d3e2f92ef88
treee1d172ac67b559a2663d0b6049c295c3ca6a4257
parenta605b0f76791b0ec0d7f1703b07ad876c12be1b3
sandbox: mmc: Fix up MMC emulator for valgrind

At present running sandbox with valgrind produces some warnings due to the
MMC emulator not filling in all the expected fields. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: use sizeof() instead of hardcoded 16]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/mmc/sandbox_mmc.c