Krzysztof Wilczyński 7aa5f8fcd6
PCI: xilinx-xdma: Fix uninitialized symbols in xilinx_pl_dma_pcie_setup_irq()
The error paths that follow calls to the devm_request_irq() functions
within the xilinx_pl_dma_pcie_setup_irq() reference an uninitialized
symbol each that also so happens to be incorrect.

Thus, fix this omission and reference the correct variable when invoking
a given dev_err() function following an error.

This problem was found using smatch via the 0-DAY CI Kernel Test service:

  drivers/pci/controller/pcie-xilinx-dma-pl.c:638 xilinx_pl_dma_pcie_setup_irq() error: uninitialized symbol 'irq'.
  drivers/pci/controller/pcie-xilinx-dma-pl.c:645 xilinx_pl_dma_pcie_setup_irq() error: uninitialized symbol 'irq'.

Fixes: 8d786149d78c ("PCI: xilinx-xdma: Add Xilinx XDMA Root Port driver")
Link: https://lore.kernel.org/oe-kbuild/202312120248.5DblxkBp-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202312120248.5DblxkBp-lkp@intel.com/
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
2024-01-06 13:37:09 +00:00
..
2023-10-28 13:31:05 -05:00
2023-10-28 13:31:05 -05:00
2023-10-24 10:54:04 -05:00
2023-11-04 16:20:36 -10:00
2023-10-24 16:55:45 -05:00
2023-08-30 16:59:03 -07:00
2023-10-23 12:17:52 -05:00
2023-10-28 13:30:59 -05:00
2023-11-03 15:15:47 -10:00
2023-10-28 13:31:05 -05:00
2023-10-20 12:11:25 +00:00
2023-10-28 13:31:05 -05:00
2023-10-28 13:31:05 -05:00
2023-09-28 16:49:44 -05:00
2023-08-25 08:15:08 -05:00
2023-10-24 16:55:45 -05:00
2023-11-02 14:05:18 -10:00