Running the KUNIT tests with KASAN enabled hits a bunch of use-after-free errors.
Note that the following tests are still failing for me. They are EXPECTATION failures though, rather than memory splats. So, the test run does at least complete now. dm_test_crtc_reset_state_replaces_existing dm_test_detect_hides_secondary_tile dm_test_fs_caps_dp_msa_not_allowed dm_test_update_plane_color_mgmt_colorop_shaper dm_test_update_plane_color_mgmt_colorop_3dlut dm_test_update_plane_color_mgmt_colorop_blend v2: Drop FIXED_MATRIX fixes for now because Sashiko is checking against a tree that does not contain the base patches. Rework some use-after-free fixes to not leak memory (despite kmemleak claiming no leaks). Signed-off-by: John Harrison <[email protected]> John Harrison (2): drm/amd/display: Fix some memory lifetime issues in KUnit tests drm/amd/display: Fix use-after-free in dm_test_hpd_rx_offload_work_msg_rdy .../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c | 2 +- .../drm/amd/display/amdgpu_dm/tests/amdgpu_dm_irq_test.c | 8 +++++++- .../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c | 7 +++++-- .../drm/amd/display/amdgpu_dm/tests/amdgpu_dm_wb_test.c | 7 ++++--- 4 files changed, 17 insertions(+), 7 deletions(-) -- 2.43.0
