git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1a313e
)
PCI: Don't convert BAR address to resource if dma_addr_t is too small
author
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 30 Apr 2014 00:42:49 +0000
(18:42 -0600)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 23 May 2014 16:47:20 +0000
(10:47 -0600)
If dma_addr_t is too small to represent the BAR value,
pcibios_bus_to_resource() will fail, so just remember the BAR size directly
in the resource. The resource is already marked UNSET, so we know the
address isn't valid anyway.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c
patch
|
blob
|
history
diff --cc
drivers/pci/probe.c
Simple merge