diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-09-09 12:11:50 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-16 23:41:52 (GMT) |
commit | f9dd0ce67db80079484f154a27581e30c28e6938 (patch) | |
tree | ab71d71042bff74c749f5079265be79c19621213 /drivers/pci/probe.c | |
parent | 8961def56845593f22ce85474e428f6e4892fdd3 (diff) | |
download | linux-f9dd0ce67db80079484f154a27581e30c28e6938.tar.xz |
PCI: xilinx: Fix xilinx_pcie_assign_msi() return value test
We should be testing "hwirq" instead of "irq". "irq" is unsigned so it's
never less than zero. Also it's uninitialized.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Srikanth Thokala <sthokal@xilinx.com>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions