linux-yocto/drivers/pci/pcie
Bjorn Helgaas 5603562786 PCI/DPC: Initialize aer_err_info before using it
[ Upstream commit a424b598e6 ]

Previously the struct aer_err_info "info" was allocated on the stack
without being initialized, so it contained junk except for the fields we
explicitly set later.

Initialize "info" at declaration so it starts as all zeros.

Fixes: 8aefa9b0d9 ("PCI/DPC: Print AER status in DPC event handling")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20250522232339.1525671-2-helgaas@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:28:29 +02:00
..
aer_inject.c
aer.c
aspm.c PCI/ASPM: Fix link state exit during switch upstream function removal 2025-04-10 14:37:28 +02:00
dpc.c PCI/DPC: Initialize aer_err_info before using it 2025-06-19 15:28:29 +02:00
edr.c
err.c
Kconfig
Makefile
pme.c
portdrv.c PCI/portdrv: Only disable pciehp interrupts early when needed 2025-04-10 14:37:28 +02:00
portdrv.h
ptm.c
rcec.c