aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2025-10-14 01:46:07 +0000
committerBjorn Helgaas <[email protected]>2025-10-17 13:30:34 +0000
commite433110eb5bf067f74d3d15c5fb252206c66ae0b (patch)
tree4bca486874dfb0c0cac031bdbf3a3e87638e9b3a /lib/test_fortify/write_overflow-strlcpy-src.c
parentPCI: Revert early bridge resource set up (diff)
downloadkernel-e433110eb5bf067f74d3d15c5fb252206c66ae0b.tar.gz
kernel-e433110eb5bf067f74d3d15c5fb252206c66ae0b.zip
PCI: vmd: Override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info()
Since commit 54f45a30c0d0 ("PCI/MSI: Add startup/shutdown for per device domains") set callback irq_startup() and irq_shutdown() of the struct pci_msi[x]_template, __irq_startup() will always invokes irq_startup() callback instead of irq_enable() callback overridden in vmd_init_dev_msi_info(). This will not start the IRQ correctly. Also override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info(), so the irq_startup() can invoke the real logic. Fixes: 54f45a30c0d0 ("PCI/MSI: Add startup/shutdown for per device domains") Reported-by: Kenneth Crudup <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Reported-by: Genes Lists <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Reported-by: Todd Brandt <[email protected]> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220658 Reported-by: Oliver Hartkopp <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Reported-by: HervĂ© <[email protected]> Signed-off-by: Inochi Amaoto <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Tested-by: Kenneth R. Crudup <[email protected]> Tested-by: Genes Lists <[email protected]> Tested-by: Oliver Hartkopp <[email protected]> Tested-by: Todd Brandt <[email protected]> Tested-by: HervĂ© <[email protected]> Cc: [email protected] Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions