linux/drivers/pci/host
Dan Carpenter 937bb9e711 PCI: dwc: Fix uninitialized variable in dw_handle_msi_irq()
commit 1b497e6493 upstream.

The bug is that "val" is unsigned long but we only initialize 32 bits of
it.  Then we test "if (val)" and that might be true not because we set the
bits but because some were never initialized.

Fixes: f342d940ee ("PCI: exynos: Add support for MSI")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
[bwh: Backported to 3.16: adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-08-26 02:14:28 +01:00
..
Kconfig Merge branch 'pci/host-generic' into next 2014-05-30 11:40:13 -06:00
Makefile Merge branch 'pci/host-generic' into next 2014-05-30 11:40:13 -06:00
pci-exynos.c PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD 2016-02-02 19:09:18 +00:00
pci-host-generic.c PCI: generic: Add generic PCI host controller driver 2014-05-30 11:34:49 -06:00
pci-imx6.c PCI: imx6: Move link up check into imx6_pcie_wait_for_link() 2016-05-01 00:05:44 +02:00
pci-mvebu.c PCI: mvebu: Fix uninitialized variable in mvebu_get_tgt_attr() 2014-10-30 09:40:15 -07:00
pci-rcar-gen2.c PCI: rcar: Add gen2 device tree support 2014-05-28 07:47:55 -06:00
pci-tegra.c PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD 2016-02-02 19:09:18 +00:00
pcie-designware.c PCI: dwc: Fix uninitialized variable in dw_handle_msi_irq() 2017-08-26 02:14:28 +01:00
pcie-designware.h Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pcie-rcar.c PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD 2016-02-02 19:09:18 +00:00