drm/i915/gvt: do not ignore return value of create_scratch_page
authorDu, Changbin <changbin.du@intel.com>
Thu, 20 Oct 2016 06:08:49 +0000 (14:08 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:31:36 +0000 (17:31 +0800)
commit19e6393fb5366a89705a62b3276ce42e990d12ce
tree05c4e424019868bcffd0f2c363bc171166fd1343
parent76a79d59ada00fa22e5f8cd94b36296f395c3406
drm/i915/gvt: do not ignore return value of create_scratch_page

Function create_scratch_page() may fail in some cases.

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