diff options
author | Krzysztof Wilczyński <[email protected]> | 2024-01-06 12:43:28 +0000 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2024-01-06 13:37:09 +0000 |
commit | 7aa5f8fcd6d95b713a39fe52c296a6892eda7f02 (patch) | |
tree | ca3331be9567269b88b9970994aabf03b6bee990 /lib/test_fortify/write_overflow-memcpy.c | |
parent | b642e081f46cc95c7f1468cab1ea3c2d5e11fdab (diff) |
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/[email protected]/
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions