commit e45413eb708c1cf21082764457692c8eeac0ca97
tree 7531fac05a3141bb8fe6888a8e3b269e2d51d358
parent 237ee312e10a86e69e01fc02e0daeb0fa3e7a6e8
author Amol Lad <[EMAIL PROTECTED]> 1160043962 +0400
committer Greg Kroah-Hartman <[EMAIL PROTECTED]> 1163716226 -0800

W1: ioremap balanced with iounmap

ioremap must be balanced with iounmap in error path.

Please consider for 2.6.19.

Signed-off-by: Amol Lad <[EMAIL PROTECTED]>
Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

 drivers/w1/masters/matrox_w1.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/w1/masters/matrox_w1.c b/drivers/w1/masters/matrox_w1.c
index 2788b8c..6f9d880 100644
--- a/drivers/w1/masters/matrox_w1.c
+++ b/drivers/w1/masters/matrox_w1.c
@@ -215,6 +215,8 @@ static int __devinit matrox_w1_probe(str
        return 0;
+       if (dev->virt_addr)
+               iounmap(dev->virt_addr);
        return err;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to