projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a79d5
)
drm/i915/gvt: do not ignore return value of create_scratch_page
author
Du, Changbin
<changbin.du@intel.com>
Thu, 20 Oct 2016 06:08:49 +0000
(14:08 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Thu, 20 Oct 2016 09:31:36 +0000
(17:31 +0800)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/gtt.c
b/drivers/gpu/drm/i915/gvt/gtt.c
index ca157207079255b86790e4d7200f2b405333e787..2cc761328569c972cc7cb48962dfe7b53acec5f4 100644
(file)
--- a/
drivers/gpu/drm/i915/gvt/gtt.c
+++ b/
drivers/gpu/drm/i915/gvt/gtt.c
@@
-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);
}
/**