aboutsummaryrefslogtreecommitdiff
path: root/device_tree.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-03-28 14:22:49 +0000
committerKevin Wolf <kwolf@redhat.com>2014-04-04 19:36:39 +0200
commit4d1cb6e6f51b0d8405f701806a203a73e7431fe5 (patch)
tree4f38889ded2d15ec5e832f547dc680149a644af9 /device_tree.c
parentf187743acd39747cc8cc32111518142c924963b9 (diff)
dma-helpers: Initialize DMAAIOCB in_cancel flag
Initialize the dbs->in_cancel flag in dma_bdrv_io(), since qemu_aio_get() does not return zero-initialized memory. Spotted by the clang sanitizer (which complained when the value loaded in dma_complete() was not valid for a bool type); this might have resulted in leaking the AIO block. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions