Skip to contentSkip to conversation

drm/i915: opregion_setup: iounmap correct address

PATCH Applied Christoph Fritz 2 participants 2 messages Nov 1, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: opregion_setup: iounmap correct address

In case of an opregion signature mismatch in intel_opregion_setup(), iounmap the correct address.

---
 drivers/gpu/drm/i915/intel_opregion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/i915/intel_opregion.c +1 -1
index 917c7dc..9b0d9a8 100644
@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)
 	return 0;
 
 err_out:
-	iounmap(opregion->header);
+	iounmap(base);
 	return err;
 }
Signature · 1 line
1.7.1
Applied
#1 lore raw
Quoted 2 lines · Christoph Fritz

In case of an opregion signature mismatch in intel_opregion_setup(), iounmap the correct address.

Applied to -fixes and tagged for stable.
Thanks!
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre