aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorNiklas Schnelle <[email protected]>2023-07-03 15:52:55 +0200
committerBjorn Helgaas <[email protected]>2023-07-18 16:56:58 -0500
commit5da1b58868a620cb58ad9ab31632ce9304c9f4f4 (patch)
tree811c20bb22b4b28e98c5e6052541fa5bfb68f3ab /lib/test_fortify/write_overflow-strncpy-src.c
parentf768c75d61582b011962f9dcb9ff8eafb8da0383 (diff)
PCI/sysfs: Make I/O resource depend on HAS_IOPORT
If legacy I/O spaces are not supported simply return an error when trying to access them via pci_resource_io(). This allows inb() and friends to become undefined when they are known at compile time to be non-functional in a later patch. Co-developed-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions