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>
This commit is contained in:
Du, Changbin 2016-10-20 14:08:49 +08:00 committed by Zhenyu Wang
parent 76a79d59ad
commit 19e6393fb5

View File

@ -1995,8 +1995,7 @@ int intel_vgpu_init_gtt(struct intel_vgpu *vgpu)
gtt->ggtt_mm = ggtt_mm;
create_scratch_page(vgpu);
return 0;
return create_scratch_page(vgpu);
}
/**