]> 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)
commitd5c355f42d151d90893c8b4650d183827e1b31fd
treeb5434a89b6af363faee01b9601089d6230fa6239
parent888cf910242c8b05d75be8c92d03211af53ea905
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