Gerd Hoffmann
a7f85e03b9
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
2019-07-03 08:57:09 +02:00
..
2019-06-12 13:18:33 +02:00
2019-06-28 10:49:36 +02:00
2019-06-28 10:49:36 +02:00
2019-06-28 10:49:36 +02:00
2019-06-28 10:49:36 +02:00
2019-06-28 10:49:36 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-13 09:34:50 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-28 10:49:36 +02:00
2019-05-29 06:30:45 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-05-24 09:10:29 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-04-29 17:57:21 +01:00
2019-06-12 13:20:20 +02:00
2019-03-22 16:18:07 +00:00
2019-05-13 08:58:55 +02:00
2019-06-12 13:18:33 +02:00
2019-06-13 09:34:50 +02:00
2019-05-29 06:30:45 +02:00
2019-05-29 06:30:45 +02:00
2019-05-29 06:30:45 +02:00
2019-06-12 13:20:20 +02:00
2019-05-29 06:30:45 +02:00
2019-06-12 13:18:33 +02:00
2019-07-03 08:57:09 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:18:33 +02:00
2019-06-24 10:42:30 +01:00
2019-06-12 13:18:33 +02:00