projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b558ba2
)
staging: vme: tsi148: remove double freeing of the IRQ in .remove
author
Emilio G. Cota
<cota@braap.org>
Fri, 12 Nov 2010 11:14:40 +0000
(11:14 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 16 Nov 2010 19:40:15 +0000
(11:40 -0800)
tsi148_irq_exit is called twice in .remove, which causes an oops.
Remove the second call, which apart from being redundant cannot
possibly work; the CR/CSR space has been already unmapped.
Signed-off-by: Emilio G. Cota <cota@braap.org>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/bridges/vme_tsi148.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vme/bridges/vme_tsi148.c
b/drivers/staging/vme/bridges/vme_tsi148.c
index
5c25cd8
..
2f8f399
100644
(file)
--- a/
drivers/staging/vme/bridges/vme_tsi148.c
+++ b/
drivers/staging/vme/bridges/vme_tsi148.c
@@
-2611,8
+2611,6
@@
static void tsi148_remove(struct pci_dev *pdev)
kfree(master_image);
}
- tsi148_irq_exit(bridge, pdev);
-
iounmap(bridge->base);
pci_release_regions(pdev);