Skip to content
Commit 47ba614b authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Daniel Vetter
Browse files

drm/vmwgfx: check kmalloc return value



srf->sizes has been allocated and checked a few lines above; fix up
the copy-pasto so that we check srf->offsets.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450178476-26284-8-git-send-email-boris.brezillon@free-electrons.com


Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 9e266128
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment