aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorMario Limonciello (AMD) <[email protected]>2025-10-13 22:08:26 +0000
committerBjorn Helgaas <[email protected]>2025-10-17 13:31:14 +0000
commita78835b86a4414230e4cf9a9f16d22302cdb8388 (patch)
treeba45cadabaab5037221a77fa663cc3c38b6c4744 /lib/test_fortify/write_overflow-strlcpy-src.c
parentPCI: vmd: Override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info() (diff)
downloadkernel-a78835b86a4414230e4cf9a9f16d22302cdb8388.tar.gz
kernel-a78835b86a4414230e4cf9a9f16d22302cdb8388.zip
PCI/VGA: Select SCREEN_INFO on X86
commit 337bf13aa9dda ("PCI/VGA: Replace vga_is_firmware_default() with a screen info check") introduced an implicit dependency upon SCREEN_INFO by removing the open coded implementation. If a user didn't have CONFIG_SCREEN_INFO set, vga_is_firmware_default() would now return false. SCREEN_INFO is only used on X86 so add a conditional select for SCREEN_INFO to ensure that the VGA arbiter works as intended. Fixes: 337bf13aa9dda ("PCI/VGA: Replace vga_is_firmware_default() with a screen info check") Reported-by: Eric Biggers <[email protected]> Closes: https://lore.kernel.org/linux-pci/20251012182302.GA3412@sol/ Suggested-by: Thomas Zimmermann <[email protected]> Signed-off-by: Mario Limonciello (AMD) <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Tested-by: Eric Biggers <[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