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

From: Gerd Hoffmann
Date: Tue May 18 2021 - 06:09:39 EST


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