diff options
| author | Xie Yongji <[email protected]> | 2021-05-17 08:49:11 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2021-05-18 08:55:30 +0000 |
| commit | 17f46f488a5d82c5568e6e786cd760bba1c2ee09 (patch) | |
| tree | c9feb1f7cfe1e7fd09085c1c15c0229130753d57 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | drm: Mark IRQ_BUSID ioctl as legacy (diff) | |
| download | kernel-17f46f488a5d82c5568e6e786cd760bba1c2ee09.tar.gz kernel-17f46f488a5d82c5568e6e786cd760bba1c2ee09.zip | |
drm/virtio: Fixes a potential NULL pointer dereference on probe failure
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().
Signed-off-by: Xie Yongji <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
