diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-13 09:22:26 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-14 11:54:19 +0100 |
commit | 43c27940227039223abbb5107a2eb3d799c8a2ec (patch) | |
tree | 440196d5e86b1ee5a4a41aba8ae989291baf6e09 /drivers/gpu/drm/i810 | |
parent | 265ffed739d313bd876c8faa9be15d3a101b8175 (diff) | |
download | blackbird-obmc-linux-43c27940227039223abbb5107a2eb3d799c8a2ec.tar.gz blackbird-obmc-linux-43c27940227039223abbb5107a2eb3d799c8a2ec.zip |
drm: virtio: fix kmem_cache_alloc error check
kmem_cache_alloc returns NULL on error, not ERR_PTR.
Fixes: f5985bf9cadd4e3ed8d5d9a9cbbb2e39cdb81cd9
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
Diffstat (limited to 'drivers/gpu/drm/i810')
0 files changed, 0 insertions, 0 deletions