* [PATCH 3/5] ioremap balanced with iounmap for drivers/char/moxa.c
@ 2006-10-06 4:57 Amol Lad
2006-10-06 11:19 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Amol Lad @ 2006-10-06 4:57 UTC (permalink / raw)
To: linux kernel; +Cc: Andrew Morton
Signed-off-by: Amol Lad <amol@verismonetworks.com>
---
moxa.c | 6 ++++++
1 files changed, 6 insertions(+)
---
diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/drivers/char/moxa.c linux-2.6.19-rc1/drivers/char/moxa.c
--- linux-2.6.19-rc1-orig/drivers/char/moxa.c 2006-10-05 14:00:43.000000000 +0530
+++ linux-2.6.19-rc1/drivers/char/moxa.c 2006-10-05 14:50:00.000000000 +0530
@@ -493,6 +493,12 @@ static void __exit moxa_exit(void)
if (tty_unregister_driver(moxaDriver))
printk("Couldn't unregister MOXA Intellio family serial driver\n");
put_tty_driver(moxaDriver);
+
+ for (i = 0; i < MAX_BOARDS; i++) {
+ if (moxaBaseAddr[i])
+ iounmap(moxaBaseAddr[i]);
+ }
+
if (verbose)
printk("Done\n");
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 3/5] ioremap balanced with iounmap for drivers/char/moxa.c
2006-10-06 4:57 [PATCH 3/5] ioremap balanced with iounmap for drivers/char/moxa.c Amol Lad
@ 2006-10-06 11:19 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-10-06 11:19 UTC (permalink / raw)
To: Amol Lad; +Cc: linux kernel, Andrew Morton
Ar Gwe, 2006-10-06 am 10:27 +0530, ysgrifennodd Amol Lad:
> Signed-off-by: Amol Lad <amol@verismonetworks.com>
> ---
> moxa.c | 6 ++++++
> 1 files changed, 6 insertions(+)
> ---
Looks ok to me
Signed-off-by: Alan Cox <alan@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-06 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 4:57 [PATCH 3/5] ioremap balanced with iounmap for drivers/char/moxa.c Amol Lad
2006-10-06 11:19 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox