summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-04-30 02:42:49 +0200
committerBjorn Helgaas <bhelgaas@google.com>2014-05-23 18:47:20 +0200
commit72dc5601fe5fec37cc1bd0efb19d99948fe7e54c (patch)
treeb8c874a0633ce7ce9111dd4f3b83aa06a4206f36 /drivers/cpuidle
parentPCI: Reject BAR above 4GB if dma_addr_t is too small (diff)
downloadlinux-72dc5601fe5fec37cc1bd0efb19d99948fe7e54c.tar.xz
linux-72dc5601fe5fec37cc1bd0efb19d99948fe7e54c.zip
PCI: Don't convert BAR address to resource if dma_addr_t is too small
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>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions