aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAndy Chiu <[email protected]>2024-05-10 00:26:51 +0800
committerPalmer Dabbelt <[email protected]>2024-05-30 14:33:04 -0700
commit77afe3e514b89a12143c89d263cfe2365672cfc3 (patch)
tree0133d859e52116d6ea0c578beecc1957a606e2db /lib/test_fortify/write_overflow-strncpy-src.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
riscv: vector: add a comment when calling riscv_setup_vsize()
The function would fail when it detects the calling hart's vlen doesn't match the first one's. The boot hart is the first hart calling this function during riscv_fill_hwcap, so it is impossible to fail here. Add a comment about this behavior. Signed-off-by: Andy Chiu <[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