summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-mvebu.c
diff options
context:
space:
mode:
authorJason Gunthorpe2014-02-12 23:57:07 +0100
committerBjorn Helgaas2014-02-18 21:33:56 +0100
commita723e7523c140423ddb450d2ba5c3ba44b003c69 (patch)
treee532439a77bc7bf45ba8f3b18810aa1e8d57bde3 /drivers/pci/host/pci-mvebu.c
parentPCI: mvebu: Fix potential issue in range parsing (diff)
downloadkernel-qcow2-linux-a723e7523c140423ddb450d2ba5c3ba44b003c69.tar.gz
kernel-qcow2-linux-a723e7523c140423ddb450d2ba5c3ba44b003c69.tar.xz
kernel-qcow2-linux-a723e7523c140423ddb450d2ba5c3ba44b003c69.zip
bus: mvebu-mbus: Fix incorrect size for PCI aperture resources
reg[0] is the DT base, reg[1] is the DT length in bytes, struct resource.end is the inclusive end address, so a -1 is required. Tested on kirkwood. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/pci/host/pci-mvebu.c')
0 files changed, 0 insertions, 0 deletions