summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/vphn
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/powerpc/vphn')
0 files changed, 0 insertions, 0 deletions
/i915/gvt: destroy the allocated idr on vgpu creating failures
Once idr_alloc gets called data is allocated within the idr list, if any error occurs afterwards, we should undo that by idr_remove on the error path. Signed-off-by: Jike Song <jike.song@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat
-rw-r--r--drivers/gpu/drm/i915/gvt/vgpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/vgpu.c