Searched hist:fc4d3f35 (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | virtio-gpu.c | fc4d3f35 Mon Aug 30 17:50:33 GMT 2021 Dongwon Kim <dongwon.kim@intel.com> virtio-gpu: no point of checking res->iov
The code should check the opposite condition of res->iov because it will be null if virtio_gpu_create_mapping_iov fails and actually this checking is not even required because checking on ret covers all failing cases.
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Message-Id: <20210830175033.29233-1-dongwon.kim@intel.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|