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:
7f0d21f
)
PCI: Use "unsigned long" for __pci_enable_device_flags to match ioport.h
author
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 4 Jan 2013 19:13:15 +0000
(12:13 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 4 Jan 2013 19:13:15 +0000
(12:13 -0700)
__pci_enable_device_flags() takes values like IORESOURCE_IO and
IORESOURCE_MEM, which are values for struct resource.flags, which is
"unsigned long", not "resource_size_t".
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index 5cb5820fae40147a29c79913cd1ebadcbfba1348..d574fbdbf4b0a7cacdd4ac49b9f102a468bcc2b6 100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-1157,7
+1157,7
@@
int pci_reenable_device(struct pci_dev *dev)
}
static int __pci_enable_device_flags(struct pci_dev *dev,
-
resource_size_t
flags)
+
unsigned long
flags)
{
int err;
int i, bars = 0;