mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
Release symbol on error-handling path of ips_get_i915_syms()
In ips_get_i915_syms(), the symbol i915_gpu_busy() is not released when error occurs. Signed-off-by: minskey guo <chaohong.guo@intel.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
c21eae4f7c
commit
fed522f7ea
@ -1390,7 +1390,7 @@ static bool ips_get_i915_syms(struct ips_driver *ips)
|
||||
return true;
|
||||
|
||||
out_put_busy:
|
||||
symbol_put(i915_gpu_turbo_disable);
|
||||
symbol_put(i915_gpu_busy);
|
||||
out_put_lower:
|
||||
symbol_put(i915_gpu_lower);
|
||||
out_put_raise:
|
||||
|
Loading…
Reference in New Issue
Block a user