aboutsummaryrefslogtreecommitdiff
path: root/hw/display/omap_lcd_template.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-06-28 09:23:57 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-07-03 08:57:09 +0200
commita7f85e03b94ffaca75332cddf06426fc85ac611a (patch)
tree74ba1f18eebadd92f7f39b9c43ec8efffab0c269 /hw/display/omap_lcd_template.h
parent506179e42112be77bfd071f050b15762d3b2cd43 (diff)
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 'hw/display/omap_lcd_template.h')
0 files changed, 0 insertions, 0 deletions