WSL2-Linux-Kernel/drivers/pci
Marc Gonzalez dc5205ef46 PCI: Improve __pci_read_base() robustness
Local variables 'l' and 'sz' are uninitialized.  Normally, they would
be initialized by pci_read_config_dword() but when an error occurs,
some drivers immediately return an error code, which leaves the
argument uninitialized.

Provide a safe initial value to make the code more robust.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2017-04-18 14:11:10 -05:00
..
dwc PCI: dwc: Fix crashes seen due to missing assignments 2017-02-25 09:06:02 -06:00
host pci-v4.11-fixes-1 2017-03-03 16:44:21 -08:00
hotplug PCI: Add device disconnected state 2017-03-29 22:54:46 -05:00
pcie PCI: Add device disconnected state 2017-03-29 22:54:46 -05:00
Kconfig PCI: Move DesignWare IP support to new drivers/pci/dwc/ directory 2017-02-21 14:59:53 -06:00
Makefile PCI: dwc: Remove dependency of designware on CONFIG_PCI 2017-02-21 15:00:26 -06:00
access.c PCI: Don't attempt config access to disconnected devices 2017-03-29 22:54:56 -05:00
ats.c
bus.c
ecam.c
host-bridge.c
hotplug-pci.c
htirq.c
iov.c PCI: Lock each enable/disable num_vfs operation in sysfs 2017-02-03 13:42:38 -06:00
irq.c
msi.c PCI/MSI: Skip disabling disconnected devices 2017-03-29 22:55:07 -05:00
of.c
pci-acpi.c
pci-driver.c pci-v4.11-changes 2017-02-23 11:53:22 -08:00
pci-label.c
pci-mid.c
pci-stub.c
pci-sysfs.c PCI: Lock each enable/disable num_vfs operation in sysfs 2017-02-03 13:42:38 -06:00
pci.c PCI: Short-circuit pci_device_is_present() for disconnected devices 2017-03-29 22:55:16 -05:00
pci.h PCI: Add device disconnected state 2017-03-29 22:54:46 -05:00
probe.c PCI: Improve __pci_read_base() robustness 2017-04-18 14:11:10 -05:00
proc.c
quirks.c scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c
slot.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
syscall.c
vc.c
vpd.c
xen-pcifront.c