aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorVincent Whitchurch <[email protected]>2022-09-27 13:21:16 +0200
committerMark Brown <[email protected]>2022-09-28 12:54:06 +0100
commit8d699ff95534747e394e0830399b8d5dcf03e738 (patch)
treefa20b66163c5e3fe362c7b7a154556ee818fa2d4 /lib/test_fortify/write_overflow-strncpy-src.c
parent0c17ba73c08ff2690c1eff8df374b6709eed55ce (diff)
spi: Split transfers larger than max size
A couple of drivers call spi_split_transfers_maxsize() from their ->prepare_message() callbacks to split transfers which are too big for them to handle. Add support in the core to do this based on ->max_transfer_size() to avoid code duplication. Signed-off-by: Vincent Whitchurch <[email protected]> Link: https://lore.kernel.org/r/[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