Skip to contentSkip to conversation

mmc: balanc pci_iomap with pci_iounmap

PATCH Superseded Roel Kluin 2 participants 3 messages Dec 13, 2008 – Dec 21, 2008

Subsystems (2)
lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 mmc: balanc pci_iomap with pci_iounmap

balance pci_iomap with pci_iounmap, not iounmap

---

drivers/mmc/host/sdricoh_cs.c +1 -1
index 1df44d9..d4d86be 100644
@@ -463,7 +463,7 @@ static int sdricoh_init_mmc(struct pci_dev *pci_dev,
 
 err:
 	if (iobase)
-		iounmap(iobase);
+		pci_iounmap(iobase);
 	if (mmc)
 		mmc_free_host(mmc);
 
author
#1 lore raw

PATCH v2 1/1 mmc: balanc pci_iomap with pci_iounmap

balance pci_iomap with pci_iounmap, not iounmap

---
Sorry, this is what it should be...

drivers/mmc/host/sdricoh_cs.c +1 -1
index 1df44d9..d4748a8 100644
@@ -463,7 +463,7 @@ static int sdricoh_init_mmc(struct pci_dev *pci_dev,
 
 err:
 	if (iobase)
-		iounmap(iobase);
+		pci_iounmap(pci_dev, iobase);
 	if (mmc)
 		mmc_free_host(mmc);
 
#2 lore raw
Quoted 6 lines · On Sat, 13 Dec 2008 21:21:33 +0100 Roel Kluin <[email protected]> wrote:

balance pci_iomap with pci_iounmap, not iounmap

---
Sorry, this is what it should be...

Applied, thanks.

Signature · 6 lines
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.