summaryrefslogtreecommitdiffstats
path: root/include/hw/i2c
diff options
context:
space:
mode:
authorGerd Hoffmann2019-06-28 09:23:57 +0200
committerGerd Hoffmann2019-07-03 08:57:09 +0200
commita7f85e03b94ffaca75332cddf06426fc85ac611a (patch)
tree74ba1f18eebadd92f7f39b9c43ec8efffab0c269 /include/hw/i2c
parentMerge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.1-20190702' into... (diff)
downloadqemu-a7f85e03b94ffaca75332cddf06426fc85ac611a.tar.gz
qemu-a7f85e03b94ffaca75332cddf06426fc85ac611a.tar.xz
qemu-a7f85e03b94ffaca75332cddf06426fc85ac611a.zip
virtio-gpu: fix unmap in error path
We land here in case not everything we've asked for could be mapped. So unmap only the bytes which have actually been mapped. Also we didn't access anything, so acces_len can be 0. Reported-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Message-id: 20190628072357.31782-1-kraxel@redhat.com
Diffstat (limited to 'include/hw/i2c')
0 files changed, 0 insertions, 0 deletions