ioremap balanced with iounmap for drivers/scsi/zalon.c
PATCH 15/36 ioremap balanced with iounmap for drivers/scsi/zalon.c
From: Amol Lad <[email protected]>
ioremap must be balanced by an iounmap and failing to do so can result in a memory leak.
Signed-off-by Amol Lad <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/zalon.c | 2 ++ 1 files changed, 2 insertions(+)
drivers/scsi/zalon.c renamed from drivers/scsi/zalon.c~ioremap-balanced-with-iounmap-drivers-scsi-zalonc +2 -0
@@ -156,6 +156,8 @@ zalon_probe(struct parisc_device *dev) fail_free_irq:free_irq (dev->irq, host); fail: +if (zalon) +iounmap (zalon);ncr53c8xx_release (host);return error; }
_