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:05 +0300
committerShuah Khan <[email protected]>2023-07-25 08:53:59 -0600
commit85b73447a44cd215815464a0981604e177384192 (patch)
tree34d624843d8a5100b8eeef93728e94f0f28c463a /lib/test_fortify/write_overflow-strncpy-src.c
parent8ee592a638fc246958acdb543acb42e76a72c5aa (diff)
selftests/resctrl: Move CAT/CMT test global vars to function they are used in
CAT and CMT tests have count_of_bits, long_mask, cbm_mask, and cache_size global variables that can be moved into the sole using function. Make the global variables local variables of the relevant function to scope them better. While at it, move cache_size initialization into the declaration line. 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