linux-stable/drivers/gpu/drm/virtio
Gerd Hoffmann 43c2794022 drm: virtio: fix kmem_cache_alloc error check
kmem_cache_alloc returns NULL on error, not ERR_PTR.

Fixes: f5985bf9ca
Reported-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1489393346-13874-1-git-send-email-kraxel@redhat.com
2017-03-14 11:54:19 +01:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_debugfs.c drm/virtio: Remove virtio_gpu_debugfs_takedown() 2017-03-01 16:09:52 +01:00
virtgpu_display.c drm: Constify drm_mode_config atomic helper private pointer 2017-02-12 12:05:23 +01:00
virtgpu_drm_bus.c drm: Deduplicate driver initialization message 2016-12-30 12:37:39 +01:00
virtgpu_drv.c drm/virtio: Remove virtio_gpu_debugfs_takedown() 2017-03-01 16:09:52 +01:00
virtgpu_drv.h drm: virtio: use kmem_cache 2017-03-07 07:09:18 +01:00
virtgpu_fb.c drm/fb-helper: Automatically clean up fb_info 2017-02-07 21:36:28 +01:00
virtgpu_fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02: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 dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
virtgpu_kms.c virtio-gpu: disable VIRGL with BE kernel 2017-01-31 12:14:27 +01:00
virtgpu_object.c drm/ttm: remove lazy parameter from ttm_bo_wait 2016-05-04 20:21:26 -04:00
virtgpu_plane.c drm/virtio: call drm_plane_cleanup() at destroy phase 2017-02-16 16:34:47 +01:00
virtgpu_prime.c virtio-gpu: add basic prime support 2015-10-16 10:44:02 +02:00
virtgpu_ttm.c drm/ttm: revert "implement LRU add callbacks v2" 2017-01-27 12:20:34 -05:00
virtgpu_vq.c drm: virtio: fix kmem_cache_alloc error check 2017-03-14 11:54:19 +01:00