commit | 1b497e6493c49bbb55c89f53562f7f853495e90d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 16 14:34:51 2017 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Apr 04 08:29:56 2017 -0500 |
tree | 8f03770651df8363684a4ce8927685f6e4af8b07 | |
parent | dbe4a09e8bbcf88809a8394d6a359d8cebd22a86 [diff] |
PCI: dwc: Fix uninitialized variable in dw_handle_msi_irq() 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: f342d940ee0e ("PCI: exynos: Add support for MSI") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>