linux-stable/drivers/pci
Kangjie Lu d73c419cc5 PCI: xilinx: Check for __get_free_pages() failure
[ Upstream commit 699ca30162 ]

If __get_free_pages() fails, return -ENOMEM to avoid a NULL pointer
dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-06-22 08:17:17 +02:00
..
host PCI: xilinx: Check for __get_free_pages() failure 2019-06-22 08:17:17 +02:00
hotplug PCI: rpadlpar: Fix leaked device_node references in add/remove paths 2019-06-22 08:17:16 +02:00
pcie PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum 2019-05-25 18:26:53 +02:00
access.c PCI: Avoid possible deadlock on pci_lock and p->pi_lock 2017-11-08 10:08:37 +01:00
ats.c
bus.c
ecam.c
host-bridge.c
hotplug-pci.c
htirq.c
iov.c PCI: Create SR-IOV virtfn/physfn links before attaching driver 2017-12-25 14:23:44 +01:00
irq.c
Kconfig
Makefile
msi.c PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice 2018-11-13 11:16:53 -08:00
of.c
pci-acpi.c ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle 2018-08-09 12:17:59 +02:00
pci-driver.c PCI: Restore config space on runtime resume despite being unbound 2018-05-30 07:50:46 +02:00
pci-label.c
pci-mid.c x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:19:34 +02:00
pci-stub.c
pci-sysfs.c PCI: Prevent sysfs disable of device while driver is attached 2018-08-03 07:55:17 +02:00
pci.c PCI: Reprogram bridge prefetch registers on resume 2018-10-13 09:18:54 +02:00
pci.h
probe.c PCI: Skip MPS logic for Virtual Functions (VFs) 2018-08-24 13:12:42 +02:00
proc.c
quirks.c PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum 2019-05-25 18:26:53 +02:00
remove.c PCI: Detach driver before procfs & sysfs teardown on device remove 2017-12-20 10:07:31 +01:00
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant 2018-04-08 12:12:43 +02:00
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c