Re: [PATCH] PCI: xilinx-xdma: Fix uninitialized symbols in xilinx_pl_dma_pcie_setup_irq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> 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'.

We need to get this fixed, so I applied this change to controller/xilinx,
as I would like to ensure that it will be included with the rest of the
changes for the 6.8 release

[1/1] PCI: xilinx-xdma: Fix uninitialized symbols in xilinx_pl_dma_pcie_setup_irq()
      https://git.kernel.org/pci/pci/c/7aa5f8fcd6d9

	Krzysztof




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux