[PATCH 1/3] drm/virtio: Fixes a potential NULL pointer dereference on probe failure

Gerd Hoffmann kraxel at redhat.com
Tue May 18 10:09:25 UTC 2021


On Mon, May 17, 2021 at 04:49:11PM +0800, Xie Yongji wrote:
> The dev->dev_private might not be allocated if virtio_gpu_pci_quirk()
> or virtio_gpu_init() failed. In this case, we should avoid the cleanup
> in virtio_gpu_release().

Pushed all three to drm-misc-next.

thanks,
  Gerd



More information about the dri-devel mailing list