tree 68ee9ede7d7abc40d9baec6ee73e8d91ccc2053d
parent 8e84c801bad50d2e0e9f802610d2c13f8d342230
author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Tue, 06 Sep 2005 01:36:58 +0100
committer Jeff Garzik <[EMAIL PROTECTED]> Wed, 07 Sep 2005 06:17:12 -0400

[PATCH] iomem annotations (ac3200.c)

no need to mess with (wrong) casts for ->mem_start, when we have the
original iomem pointer used to set ->mem_start in the first place...

Signed-off-by: Al Viro <[EMAIL PROTECTED]>
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

 drivers/net/ac3200.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c
--- a/drivers/net/ac3200.c
+++ b/drivers/net/ac3200.c
@@ -275,7 +275,7 @@ static int __init ac_probe1(int ioaddr, 
        return 0;
 out2:
        if (ei_status.reg0)
-               iounmap((void *)dev->mem_start);
+               iounmap(ei_status.mem);
 out1:
        free_irq(dev->irq, dev);
 out:
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to