aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMarco Pagani <[email protected]>2024-07-25 14:50:29 +0200
committerXu Yilun <[email protected]>2024-08-14 23:50:01 +0800
commitdbcbd3650f305df708b569517c063c7644cf0d89 (patch)
treed2184a73ca646416356799c7de1a8725a5b5346b /lib/test_fortify/write_overflow-strncpy-src.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
fpga: Simplify and improve fpga mgr test using deferred actions
Use deferred actions to simplify the test suite and avoid potential memory leaks when test cases fail. Remove unnecessary calls to kunit_device_unregister() since kunit devices are tied to the test context and released by a deferred action when the test is completed. Signed-off-by: Marco Pagani <[email protected]> Acked-by: Xu Yilun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions