[<prev] [next>] [day] [month] [year] [list]
Message-id: <1097529576320308434@wsc.cz>
Date: Sun, 31 Dec 2006 00:44:19 +0100 (CET)
From: Jiri Slaby <jirislaby@...il.com>
To: Andrew Morton <akpm@...l.org>
Cc: <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/1] Char: mxser_new, do not put pdev
mxser_new, do not put pdev
We don't call pci_dev_get, so do not call pci_dev_put in the pci release
function.
Signed-off-by: Jiri Slaby <jirislaby@...il.com>
---
commit c614729fee9638269d0881cf6ab895f19122225a
tree 84e4d767dbd91faf59e2e4dd93ea780439451cfd
parent 412f4e2b96e2d30da853368c2a04a2701c0be7b8
author Jiri Slaby <jirislaby@...il.com> Sun, 31 Dec 2006 00:09:28 +0059
committer Jiri Slaby <jirislaby@...il.com> Sun, 31 Dec 2006 00:09:28 +0059
drivers/char/mxser_new.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index f078ddf..0b66056 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -2348,7 +2348,6 @@ static void mxser_release_res(struct mxser_board *brd, struct pci_dev *pdev,
#ifdef CONFIG_PCI
pci_release_region(pdev, 2);
pci_release_region(pdev, 3);
- pci_dev_put(pdev);
#endif
} else {
release_region(brd->ports[0].ioaddr, 8 * brd->info->nports);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists