Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: rzg3s-host: Initialize MSI status bitmap before use

Initialize rzg3s_pcie_msi_irq() MSI status bitmap before use.

Fixes: 7ef502fb35b2 ("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

authored by

Claudiu Beznea and committed by
Bjorn Helgaas
94bf7483 43dfc13c

+1 -1
+1 -1
drivers/pci/controller/pcie-rzg3s-host.c
··· 479 479 static irqreturn_t rzg3s_pcie_msi_irq(int irq, void *data) 480 480 { 481 481 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}; 483 483 struct rzg3s_pcie_host *host = data; 484 484 struct rzg3s_pcie_msi *msi = &host->msi; 485 485 unsigned long bit;