PCI hotplug: ioremap balanced with iounmap
commit662a98fb8de5af4adb56e58f78753cdaa27b6459
authorAmol Lad <amol@verismonetworks.com>
Thu, 5 Oct 2006 06:37:32 +0000 (5 12:07 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 18:36:11 +0000 (18 11:36 -0700)
tree85f131f870e407b8cadb9364e582da3878e787bb
parent6aa562c248e05db993e4a5f405f899c0cfabb7f2
PCI hotplug: ioremap balanced with iounmap

1. ioremap must be balanced by an iounmap and failing to do so can
   result in a memory leak.
2. Handle return value correctly

Tested (compilation only) with:
- allmodconfig

Signed-off-by: Amol Lad <amol@verismonetworks.com>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/shpchp_hpc.c