The patch titled ioremap balanced with iounmap for drivers/scsi/sun3_vme.c has been added to the -mm tree. Its filename is ioremap-balanced-with-iounmap-drivers-scsi-sun3_scsi_vmec.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ioremap balanced with iounmap for drivers/scsi/sun3_vme.c From: Amol Lad <amol@xxxxxxxxxxxxxxxxxxx> ioremap must be balanced by an iounmap and failing to do so can result in a memory leak. Signed-off-by: Amol Lad <amol@xxxxxxxxxxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/scsi/sun3_scsi_vme.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/scsi/sun3_scsi_vme.c~ioremap-balanced-with-iounmap-drivers-scsi-sun3_scsi_vmec drivers/scsi/sun3_scsi_vme.c --- a/drivers/scsi/sun3_scsi_vme.c~ioremap-balanced-with-iounmap-drivers-scsi-sun3_scsi_vmec +++ a/drivers/scsi/sun3_scsi_vme.c @@ -216,8 +216,10 @@ static int sun3scsi_detect(struct scsi_h #endif instance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata)); - if(instance == NULL) + if(instance == NULL) { + iounmap((void *)ioaddr); return 0; + } default_instance = instance; @@ -239,6 +241,7 @@ static int sun3scsi_detect(struct scsi_h #else printk("scsi%d: IRQ%d not free, bailing out\n", instance->host_no, instance->irq); + iounmap((void *)ioaddr); return 0; #endif } _ Patches currently in -mm which might be from amol@xxxxxxxxxxxxxxxxxxx are origin.patch ioremap-balanced-with-iounmap-drivers-scsi-zalonc.patch ioremap-balanced-with-iounmap-drivers-scsi-sun3_scsic.patch ioremap-balanced-with-iounmap-drivers-scsi-sun3_scsi_vmec.patch ioremap-balanced-with-iounmap-drivers-scsi-seagatec.patch ioremap-balanced-with-iounmap-drivers-scsi-qlogicptic.patch ioremap-balanced-with-iounmap-drivers-scsi-nsp32c.patch ioremap-balanced-with-iounmap-drivers-scsi-ncr53c8xxc.patch ioremap-balanced-with-iounmap-drivers-scsi-fdomainc.patch ioremap-balanced-with-iounmap-drivers-scsi-amiga7xxc.patch ioremap-balanced-with-iounmap-drivers-scsi-3w-9xxxc.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html