]> err.no Git - linux-2.6/commit
ioremap balanced with iounmap for drivers/mtd subsystem
authorAmol Lad <amol@verismonetworks.com>
Thu, 21 Sep 2006 12:42:43 +0000 (18:12 +0530)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 22 Sep 2006 09:24:31 +0000 (10:24 +0100)
commit25f0c659fe64832d8ee06aa623fffaad708dcf8b
treeb5740156ac2ce5e39aaaba32ddb21b03379abb48
parentdd8e9ed6ed544e2b924429d29cd2a6b55590109b
ioremap balanced with iounmap for drivers/mtd subsystem

ioremap must be balanced by an iounmap and failing to do so can result
in a memory leak.

Tested (compilation only) with:
- allmodconfig
- Modifying drivers/mtd/maps/Kconfig and drivers/mtd/nand/Kconfig to
make sure that the changed file is compiling without warning

Signed-off-by: Amol Lad <amol@verismonetworks.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 files changed:
drivers/mtd/maps/arctic-mtd.c
drivers/mtd/maps/beech-mtd.c
drivers/mtd/maps/cstm_mips_ixx.c
drivers/mtd/maps/ebony.c
drivers/mtd/maps/fortunet.c
drivers/mtd/maps/lasat.c
drivers/mtd/maps/nettel.c
drivers/mtd/maps/ocotea.c
drivers/mtd/maps/pcmciamtd.c
drivers/mtd/maps/redwood.c
drivers/mtd/maps/sbc8240.c
drivers/mtd/maps/walnut.c
drivers/mtd/nand/edb7312.c
drivers/mtd/nand/ppchameleonevb.c
include/linux/utsrelease.h [new file with mode: 0644]