]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit048f9c72661760f4dc1ce1dd51813e0cbc4cb64d
tree05c4e424019868bcffd0f2c363bc171166fd1343
parentf68c7d08fd35f0ac016c90fe804b3010cb9ff549
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