Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fed522f7 authored by minskey guo's avatar minskey guo Committed by Matthew Garrett
Browse files

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: default avatarminskey guo <chaohong.guo@intel.com>
Acked-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent c21eae4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: