diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-03-17 20:05:24 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-06-07 11:49:17 +1000 |
commit | 5b67d2b955a3ef6bc4ce6fec3b06c660539aa8ce (patch) | |
tree | 89b1a3a5e52142f3c3f0a89d541802cfe5f75480 /data.c | |
parent | e2556aaeb50678647d654b7ab279301e839a679c (diff) | |
download | dtc-5b67d2b955a3ef6bc4ce6fec3b06c660539aa8ce.zip dtc-5b67d2b955a3ef6bc4ce6fec3b06c660539aa8ce.tar.gz dtc-5b67d2b955a3ef6bc4ce6fec3b06c660539aa8ce.tar.bz2 |
tests: Better handling of valgrind errors saving blobs
Currently we have 3 valgrind suppression files in the tests, all of which
are to handle memcheck errors that originate from saving entire buffers
containing blobs where the gaps between sub-blocks might not be
initialized.
We can more simply suppress those errors by having the save_blob() helper
use valgrind's client interface to mark the data as initialized before we
write it out.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'data.c')
0 files changed, 0 insertions, 0 deletions