Re: [PATCH] PCI Update for 2.6.2-rc2

From: Greg KH
Date: Thu Jan 29 2004 - 20:37:26 EST


ChangeSet 1.1520, 2004/01/29 16:19:53-08:00, ogasawara@xxxxxxxx

[PATCH] PCI hotplug: pcihp_zt5550.c ioremap/iounmap audit

insert missing iounmap()


drivers/pci/hotplug/cpcihp_zt5550.c | 2 ++
1 files changed, 2 insertions(+)


diff -Nru a/drivers/pci/hotplug/cpcihp_zt5550.c b/drivers/pci/hotplug/cpcihp_zt5550.c
--- a/drivers/pci/hotplug/cpcihp_zt5550.c Thu Jan 29 17:24:01 2004
+++ b/drivers/pci/hotplug/cpcihp_zt5550.c Thu Jan 29 17:24:01 2004
@@ -133,6 +133,8 @@
{
if(!hc_dev)
return -ENODEV;
+
+ iounmap(hc_registers);
release_mem_region(pci_resource_start(hc_dev, 1),
pci_resource_len(hc_dev, 1));
return 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/