commit | f9dd0ce67db80079484f154a27581e30c28e6938 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Sep 09 15:11:50 2014 +0300 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Sep 16 17:41:52 2014 -0600 |
tree | ab71d71042bff74c749f5079265be79c19621213 | |
parent | 8961def56845593f22ce85474e428f6e4892fdd3 [diff] |
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>