public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: balanc pci_iomap with pci_iounmap
@ 2008-12-13 20:15 Roel Kluin
  2008-12-13 20:21 ` [PATCH V2] " Roel Kluin
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2008-12-13 20:15 UTC (permalink / raw)
  To: drzeus; +Cc: lkml

balance pci_iomap with pci_iounmap, not iounmap

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index 1df44d9..d4d86be 100644
--- a/drivers/mmc/host/sdricoh_cs.c
+++ b/drivers/mmc/host/sdricoh_cs.c
@@ -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);
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH V2] mmc: balanc pci_iomap with pci_iounmap
  2008-12-13 20:15 [PATCH] mmc: balanc pci_iomap with pci_iounmap Roel Kluin
@ 2008-12-13 20:21 ` Roel Kluin
  2008-12-21 15:00   ` Pierre Ossman
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2008-12-13 20:21 UTC (permalink / raw)
  To: drzeus; +Cc: lkml

balance pci_iomap with pci_iounmap, not iounmap

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
Sorry, this is what it should be...

diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index 1df44d9..d4748a8 100644
--- a/drivers/mmc/host/sdricoh_cs.c
+++ b/drivers/mmc/host/sdricoh_cs.c
@@ -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);
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V2] mmc: balanc pci_iomap with pci_iounmap
  2008-12-13 20:21 ` [PATCH V2] " Roel Kluin
@ 2008-12-21 15:00   ` Pierre Ossman
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre Ossman @ 2008-12-21 15:00 UTC (permalink / raw)
  To: Roel Kluin; +Cc: lkml

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

On Sat, 13 Dec 2008 21:21:33 +0100
Roel Kluin <roel.kluin@gmail.com> wrote:

> balance pci_iomap with pci_iounmap, not iounmap
> 
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---
> Sorry, this is what it should be...
> 

Applied, thanks.

-- 
     -- 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-21 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13 20:15 [PATCH] mmc: balanc pci_iomap with pci_iounmap Roel Kluin
2008-12-13 20:21 ` [PATCH V2] " Roel Kluin
2008-12-21 15:00   ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox