aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-07-17 16:15:01 +0300
committerShuah Khan <[email protected]>2023-07-25 08:53:36 -0600
commit5e3e4f1a03f075bd49104ea4c998c20649a49491 (patch)
tree2456bf9cd4a85f1619c98f6c849d6572b3ce6115 /lib/test_fortify/write_overflow-strncpy-src.c
parent326baed260e2e4f2df18d42d41b261740c6b8c04 (diff)
selftests/resctrl: Remove unnecessary startptr global from fill_buf
fill_buf stores buffer pointer into global variable startptr that is only used in fill_cache(). Remove startptr as global variable, the local variable in fill_cache() is enough to keep the pointer. Signed-off-by: Ilpo Järvinen <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Tested-by: Babu Moger <[email protected]> Tested-by: Shaopeng Tan (Fujitsu) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions