diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2017-04-12 13:25:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 14:30:17 +0200 |
commit | 5f36c8b4e4a336fdf797d1e4a59a429f541befdf (patch) | |
tree | d8875a81eb723c67fa0b23898229311dda447ae1 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 6384f782a69cf93a8a59322e1b6cf29f27fa0c8f (diff) |
PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
commit 6bccc7f426abd640f08d8c75fb22f99483f201b4 upstream.
In the PCI_MMAP_PROCFS case when the address being passed by the user is a
'user visible' resource address based on the bus window, and not the actual
contents of the resource, that's what we need to be checking it against.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions