diff options
author | Amol Lad <amol@verismonetworks.com> | 2006-12-06 20:35:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:30 -0800 |
commit | aa8a8d664828c7184a2e775fb50611324ef21b5c (patch) | |
tree | fffc73d3e9a18dfd6f14586360c6db436acd397a | |
parent | 41bdabbb6d951cf4a9fbfe33783749b87662b02d (diff) | |
download | op-kernel-dev-aa8a8d664828c7184a2e775fb50611324ef21b5c.zip op-kernel-dev-aa8a8d664828c7184a2e775fb50611324ef21b5c.tar.gz |
[PATCH] ioremap balanced with iounmap for drivers/char/istallion.c
Signed-off-by: Amol Lad <amol@verismonetworks.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/char/istallion.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index bd9195e..8f59194 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c @@ -3476,6 +3476,8 @@ static int stli_initecp(stlibrd_t *brdp) if (sig.magic != cpu_to_le32(ECP_MAGIC)) { release_region(brdp->iobase, brdp->iosize); + iounmap(brdp->membase); + brdp->membase = NULL; return -ENODEV; } @@ -3632,6 +3634,8 @@ static int stli_initonb(stlibrd_t *brdp) sig.magic3 != cpu_to_le16(ONB_MAGIC3)) { release_region(brdp->iobase, brdp->iosize); + iounmap(brdp->membase); + brdp->membase = NULL; return -ENODEV; } |