]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Fix error handling in ppgtt_populate_spt_by_guest_entry
authorChangbin Du <changbin.du@intel.com>
Tue, 15 May 2018 02:35:45 +0000 (10:35 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jul 2018 02:35:14 +0000 (10:35 +0800)
commitbe97557d66c48323c608546fad5b8ca68c01a29e
treeb5434a89b6af363faee01b9601089d6230fa6239
parentcba15fa05853c95ea5b25348569932fc0579b7c6
drm/i915/gvt: Fix error handling in ppgtt_populate_spt_by_guest_entry

Don't forget to free allocated spt if shadowing failed.

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