diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-07-20 00:35:03 +0200 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-07-20 11:50:12 +0100 |
| commit | a5ec7fe81a6ec38cb8b8a798d0552cbcadce7aa9 (patch) | |
| tree | 3ec2d7e7e7db6053551a2386a8befbeadf9a19f0 /tools/perf/scripts/python/bin | |
| parent | drm/i915: s/INTEL_INFO(dev_priv)->gen/INTEL_GEN(dev_priv) in i915_irq (diff) | |
| download | linux-a5ec7fe81a6ec38cb8b8a798d0552cbcadce7aa9.tar.gz linux-a5ec7fe81a6ec38cb8b8a798d0552cbcadce7aa9.zip | |
drm/i915/selftests: Fix an error handling path in 'mock_gem_device()'
Goto the right label in case of error, otherwise there is a leak.
This has been introduced by c5cf9a9147ff. In this patch a goto has not been
updated.
Fixes: c5cf9a9147ff ("drm/i915: Create a kmem_cache to allocate struct i915_priolist from")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20170719223503.30580-1-christophe.jaillet@wanadoo.fr
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
