Skip to content

Commit 0a5ef7b

Browse files
committed
PCI: Change pci_bus_region addresses to dma_addr_t
Struct pci_bus_region contains bus addresses, which are type dma_addr_t, not resource_size_t. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent 6ce4eac commit 0a5ef7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/pci.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn,
551551
int reg, int len, u32 val);
552552

553553
struct pci_bus_region {
554-
resource_size_t start;
555-
resource_size_t end;
554+
dma_addr_t start;
555+
dma_addr_t end;
556556
};
557557

558558
struct pci_dynids {

0 commit comments

Comments
 (0)