aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorMarco Pagani <[email protected]>2024-07-25 12:50:29 +0000
committerXu Yilun <[email protected]>2024-08-14 15:50:01 +0000
commitdbcbd3650f305df708b569517c063c7644cf0d89 (patch)
treed2184a73ca646416356799c7de1a8725a5b5346b /drivers/fpga/tests/fpga-bridge-test.c
parentLinux 6.11-rc1 (diff)
downloadkernel-dbcbd3650f305df708b569517c063c7644cf0d89.tar.gz
kernel-dbcbd3650f305df708b569517c063c7644cf0d89.zip
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 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions