aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2023-08-04 16:56:18 +0300
committerAnup Patel <[email protected]>2023-08-08 17:26:05 +0530
commit630b4cee9c378e2dbb56ed84f71fc2fac50b716e (patch)
treea630bb101e1ccf955adabdc17fbab9aae9a492cf /lib/test_fortify/write_overflow-strncpy-src.c
parente47f3c2843c2c23467f9447ed977dfccbe13a6f7 (diff)
RISC-V: KVM: Improve vector save/restore functions
Make two nonfunctional changes to the vector get/set vector reg functions and their supporting function for simplification and readability. The first is to not pass KVM_REG_RISCV_VECTOR, but rather integrate it directly into the masking. The second is to rename reg_val to reg_addr where and address is used instead of a value. Also opportunistically touch up some of the code formatting for a third nonfunctional change. Signed-off-by: Andrew Jones <[email protected]> Reviewed-by: Daniel Henrique Barboza <[email protected]> Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions