]> Git Repo - linux.git/commit - drivers/pci/setup-res.c
PCI: fix truncation of resource size to 32 bits
authorNikhil P Rao <[email protected]>
Wed, 20 Jun 2012 19:56:00 +0000 (12:56 -0700)
committerBjorn Helgaas <[email protected]>
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
drivers/pci/setup-res.c
This page took 0.052106 seconds and 4 git commands to generate.