mirror of https://github.com/torvalds/linux.git
In the ttm_bo_unreserve_bulk() test function, resv is allocated using kunit_kzalloc(), but the subsequent assertion mistakenly verifies the ttm_dev pointer instead of the resv pointer. Fix the assertion to properly verify the resv pointer. Signed-off-by: Qasim Ijaz <qasdev00@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250313161424.10688-1-qasdev00@gmail.com Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> |
||
|---|---|---|
| .. | ||
| .kunitconfig | ||
| Makefile | ||
| TODO | ||
| ttm_bo_test.c | ||
| ttm_bo_validate_test.c | ||
| ttm_device_test.c | ||
| ttm_kunit_helpers.c | ||
| ttm_kunit_helpers.h | ||
| ttm_mock_manager.c | ||
| ttm_mock_manager.h | ||
| ttm_pool_test.c | ||
| ttm_resource_test.c | ||
| ttm_tt_test.c | ||