projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3a137
)
pci: pci_enable_device_bars() fix for lpfc driver
author
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 2 Feb 2008 11:13:22 +0000
(12:13 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sat, 2 Feb 2008 20:04:28 +0000
(12:04 -0800)
Based on a patch from Ingo Molnar <mingo@elte.hu> as he pointed out that
I wrongly missed this.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/lpfc/lpfc_init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_init.c
b/drivers/scsi/lpfc/lpfc_init.c
index 29b4cf9e059ba1d149f2995316c0af6aeb96419c..6cfeba7454d46e534b35f88b36d50a20d73f721e 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_init.c
+++ b/
drivers/scsi/lpfc/lpfc_init.c
@@
-1894,7
+1894,7
@@
lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid)
uint16_t iotag;
int bars = pci_select_bars(pdev, IORESOURCE_MEM);
- if (pci_enable_device_
bars(pdev, bars
))
+ if (pci_enable_device_
mem(pdev
))
goto out;
if (pci_request_selected_regions(pdev, bars, LPFC_DRIVER_NAME))
goto out_disable_device;