PCI: fix truncation of resource size to 32 bits
authorNikhil P Rao <nikhil.rao@intel.com>
Wed, 20 Jun 2012 19:56:00 +0000 (12:56 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 11 Jul 2012 22:57:44 +0000 (16:57 -0600)
commitd6776e6d5c2f8db0252f447b09736075e1bbe387
tree304355b34b77cd64b30a95f79b16a08d1521e17b
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
PCI: fix truncation of resource size to 32 bits

_pci_assign_resource() took an int "size" argument, which meant that
sizes larger than 4GB were truncated.  Change type to resource_size_t.

[bhelgaas: changelog]
Signed-off-by: Nikhil P Rao <nikhil.rao@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-res.c