linux/drivers/pci/host
Jean-Jacques Hiblot 1fa3b8a3f8 PCI: mvebu: Fix potential issue in range parsing
commit 4f4bde1df3 upstream.

The second parameter of of_read_number() is not the index, but a size.  As
it happens, in this case it may work just fine because of the conversion to
u32 and the favorable endianness on this architecture.

Fixes: 11be65472a ("PCI: mvebu: Adapt to the new device tree layout")
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-06 07:59:27 -07:00
..
Kconfig PCI changes for the v3.13 merge window: 2013-11-14 14:02:00 +09:00
Makefile Merge branch 'pci/host-rcar' into next 2013-10-31 13:58:49 -06:00
pci-exynos.c PCI: designware: Add dw_pcie prefix before cfg_read/write 2013-12-20 09:18:31 -07:00
pci-imx6.c PCI: imx6: Wait for retraining 2014-05-06 07:59:27 -07:00
pci-mvebu.c PCI: mvebu: Fix potential issue in range parsing 2014-05-06 07:59:27 -07:00
pci-rcar-gen2.c PCI: rcar: Add runtime PM support 2013-12-09 16:24:37 -07:00
pci-tegra.c ARM: SoC cleanups for 3.14 2014-01-23 18:36:55 -08:00
pcie-designware.c PCI: designware: Fix iATU programming for cfg1, io and mem viewport 2014-04-26 17:19:03 -07:00
pcie-designware.h PCI: designware: Add dw_pcie prefix before cfg_read/write 2013-12-20 09:18:31 -07:00