Skip to content

Commit 94bf748

Browse files
claudiubezneabjorn-helgaas
authored andcommitted
PCI: rzg3s-host: Initialize MSI status bitmap before use
Initialize rzg3s_pcie_msi_irq() MSI status bitmap before use. Fixes: 7ef502f ("PCI: Add Renesas RZ/G3S host controller driver") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/all/202512070218.XVMUQCl7-lkp@intel.com Closes: https://lore.kernel.org/all/202512061812.Xbqmd2Gn-lkp@intel.com Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20251209125122.304129-1-claudiu.beznea.uj@bp.renesas.com
1 parent 43dfc13 commit 94bf748

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pci/controller/pcie-rzg3s-host.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ static void rzg3s_pcie_intx_irq_handler(struct irq_desc *desc)
479479
static irqreturn_t rzg3s_pcie_msi_irq(int irq, void *data)
480480
{
481481
u8 regs = RZG3S_PCI_MSI_INT_NR / RZG3S_PCI_MSI_INT_PER_REG;
482-
DECLARE_BITMAP(bitmap, RZG3S_PCI_MSI_INT_NR);
482+
DECLARE_BITMAP(bitmap, RZG3S_PCI_MSI_INT_NR) = {0};
483483
struct rzg3s_pcie_host *host = data;
484484
struct rzg3s_pcie_msi *msi = &host->msi;
485485
unsigned long bit;

0 commit comments

Comments
 (0)