提交 30c56660 编写于 作者: C Christoph Fritz 提交者: Chris Wilson

drm/i915: opregion_setup: iounmap correct address

In case of an opregion signature mismatch in intel_opregion_setup(),
iounmap the correct address.
Signed-off-by: NChristoph Fritz <chf.fritz@googlemail.com>
Cc: stable@kernel.org
Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
上级 395b70be
...@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev) ...@@ -512,6 +512,6 @@ int intel_opregion_setup(struct drm_device *dev)
return 0; return 0;
err_out: err_out:
iounmap(opregion->header); iounmap(base);
return err; return err;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册