[Intel-gfx] [PATCH] drm/i915/pmu: Fix uninitialized variable on error path

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 18 09:58:24 UTC 2019


Quoting Tvrtko Ursulin (2019-10-18 10:05:14)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> If name allocation failed the log message will contain an unitialized
> error code which can be confusing.
> 
> Fixes: 05488673a4d4 ("drm/i915/pmu: Support multiple GPUs")
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Fair enough, that's more of my fail,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list