2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/gpu/drm/virtio
Heinrich Schuchardt b28c69dd3d virtio-gpu: avoid possible NULL pointer dereference
If output is NULL it is not permissable to dereference it.
So we should leave the respective function in this case.

The inconsistency was indicated by cppcheck.
No actual NULL pointer dereference was observed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Message-id: 1471813566-5324-1-git-send-email-xypron.glpk@gmx.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-09-20 14:25:39 +02:00
..
Kconfig drm/virtio: make fbdev support really optional 2016-07-18 09:11:40 +02:00
Makefile virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_debugfs.c drm/virtio: use %llu format string form atomic64_t 2015-10-16 11:36:36 +10:00
virtgpu_display.c drm/virtio: Fix non static symbol warning 2016-07-19 15:44:10 -04:00
virtgpu_drm_bus.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
virtgpu_drv.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
virtgpu_drv.h drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
virtgpu_fb.c drm: Remove unused fbdev_list members 2015-11-24 11:41:52 +01:00
virtgpu_fence.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-11-10 09:33:06 -08:00
virtgpu_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
virtgpu_ioctl.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
virtgpu_kms.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
virtgpu_object.c drm/ttm: remove lazy parameter from ttm_bo_wait 2016-05-04 20:21:26 -04:00
virtgpu_plane.c virtio-gpu: avoid possible NULL pointer dereference 2016-09-20 14:25:39 +02:00
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c drm/ttm: add wait for idle in all drivers bo_move functions 2016-07-07 14:54:35 -04:00
virtgpu_vq.c virtio-gpu: add 3d/virgl support 2015-10-16 10:44:02 +02:00