aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2024-08-02 16:22:13 +0100
committerMark Brown <[email protected]>2024-08-02 18:51:59 +0100
commit90ec3a8a7fd0d43026fcca979713e077d4883b56 (patch)
tree020371cdede80fb4d0eada6ff2d72df3de9cbfb1 /lib/test_fortify/write_overflow-strncpy-src.c
parenta0c04bd55a467aee3eb647555343ad6971106e86 (diff)
spi: Add empty versions of ACPI functions
Provide empty versions of acpi_spi_count_resources(), acpi_spi_device_alloc() and acpi_spi_find_controller_by_adev() if the real functions are not being built. This commit fixes two problems with the original definitions: 1) There wasn't an empty version of these functions 2) The #if only depended on CONFIG_ACPI. But the functions are implemented in the core spi.c so CONFIG_SPI_MASTER must also be enabled for the real functions to exist. Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions