projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed283e9
)
PCI/XEN: Fix bug introduced by a recent change
author
Alan Stern
<stern@rowland.harvard.edu>
Fri, 27 Jan 2012 15:24:40 +0000
(10:24 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 27 Jan 2012 22:35:30 +0000
(14:35 -0800)
This patch (as1516) fixes a bug introduced during the removal of
put_driver() and get_driver() from drivers/pci/xen-pcifront.c.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/xen-pcifront.c
patch
|
blob
|
history
diff --git
a/drivers/pci/xen-pcifront.c
b/drivers/pci/xen-pcifront.c
index 6f819988a8da3bc00a8ed9ddcf7717317ba76169..98387caf59b3d25e21f10bdb4cf67706b7bc8961 100644
(file)
--- a/
drivers/pci/xen-pcifront.c
+++ b/
drivers/pci/xen-pcifront.c
@@
-593,7
+593,7
@@
static pci_ers_result_t pcifront_common_process(int cmd,
}
pdrv = pcidev->driver;
- if (pdrv
->driver
) {
+ if (pdrv) {
if (pdrv->err_handler && pdrv->err_handler->error_detected) {
dev_dbg(&pcidev->dev,
"trying to call AER service\n");