Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19e6393f authored by Du, Changbin's avatar Du, Changbin Committed by Zhenyu Wang
Browse files

drm/i915/gvt: do not ignore return value of create_scratch_page



Function create_scratch_page() may fail in some cases.

Signed-off-by: default avatarDu, Changbin <changbin.du@intel.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent 76a79d59
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);
}

/**