Gerd Hoffmann 于2019年6月28日周五 下午3:24写道:
> 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
> Signed-off-by: Gerd Hoffmann
>
It i
On 06/28/19 09:23, Gerd Hoffmann wrote:
> 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.
s/acces_len/access_len/
With that:
Reviewed-by: Laszlo Ersek
Tha
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
Signed-off-by: Gerd Hoffmann
---
hw/display/virtio-gpu.c | 4 ++--
1 file changed, 2 in