diff options
author | Samuel Holland <[email protected]> | 2024-03-27 09:04:44 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-06-26 07:36:31 -0700 |
commit | 51781ce8f4486c3738a6c85175b599ad1be71f89 (patch) | |
tree | 33ff40995542be46ad1548987ec27f498b8a33ad /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 5080ca0fe9b505282862bbeefbd0f875bade9353 (diff) |
riscv: Pass patch_text() the length in bytes
patch_text_nosync() already handles an arbitrary length of code, so this
removes a superfluous loop and reduces the number of icache flushes.
Reviewed-by: Björn Töpel <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions