drm/virtio: free virtqueues on probe failure
mainline inclusion from mainline-v5.13-rc2 commit 058acb33 category: bugfix bugzilla: https://gitee.com/openeuler/stratovirt/issues/I66GGJ CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.15&id=058acb33d100c5cceab10d2dd388cf9bc0918908 -------------------------------- We should call virtio_gpu_deinit() to free virtqueues when drm_dev_register() failed. Signed-off-by:Xie Yongji <xieyongji@bytedance.com> Link: http://patchwork.freedesktop.org/patch/msgid/20210517084913.403-3-xieyongji@bytedance.com Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Binfeng Wu <wubinfeng@huawei.com> (cherry picked from commit f102b552)
Loading
Please sign in to comment