drm/i915/kvmgt: Handle kzalloc failure
authorChangbin Du <changbin.du@intel.com>
Mon, 12 Mar 2018 07:12:34 +0000 (15:12 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 19 Mar 2018 06:51:11 +0000 (14:51 +0800)
commit5cd4223ea3bd29e4a17d0bd8f2adbe50e50b2e57
treec623f578c582b974a87de26fe3cdfb0901eb07ff
parent84f69ba081b8d8358f725f2a7fd12c1b6f43d445
drm/i915/kvmgt: Handle kzalloc failure

Out-of-memory error must be handled correctly.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c