projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e650c
)
i3200_edac: Add a missing pci_disable_device() on the exit path
author
Hitoshi Mitake
<mitake.hitoshi@gmail.com>
Mon, 13 Jan 2014 04:26:18 +0000
(13:26 +0900)
committer
Borislav Petkov
<bp@suse.de>
Fri, 7 Feb 2014 10:34:55 +0000
(11:34 +0100)
Currently, i3200_edac.c forgets to call pci_disable_device() during a
process of disabling device. This patch adds that call.
The problem was detected by Huqiu Liu.
Reported-by: Huqiu Liu <liuhq11@mails.tsinghua.edu.cn>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
Link:
http://lkml.kernel.org/r/1389587178-10167-1-git-send-email-mitake.hitoshi@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/i3200_edac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/edac/i3200_edac.c
b/drivers/edac/i3200_edac.c
index fa1326e5a4b06d61c2c5fc7756121acc4a8f44bc..022a70273ada730a1c6afe6355387041dda36f2b 100644
(file)
--- a/
drivers/edac/i3200_edac.c
+++ b/
drivers/edac/i3200_edac.c
@@
-464,6
+464,8
@@
static void i3200_remove_one(struct pci_dev *pdev)
iounmap(priv->window);
edac_mc_free(mci);
+
+ pci_disable_device(pdev);
}
static const struct pci_device_id i3200_pci_tbl[] = {