Skip to contentSkip to conversation

Release symbol on error-handling path of ips_get_i915_syms()

PATCH RESEND New minskey guo 1 participant 1 message Oct 12, 2010 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 3/4 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.

---
 drivers/platform/x86/intel_ips.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/platform/x86/intel_ips.c +1 -1
index 3c7b25c..71dcc41 100644
@@ -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:
Signature · 1 line
1.7.1