mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: unit: Fix bitmap unit test decls
Add the necessary 0 to the test declaration. Change-Id: I76b8a9ebb9efa20c9ebf9cdd4398eb2d0b64037b Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2090956 Reviewed-by: Seth Eatinger <seatinger@nvidia.com> Tested-by: Seth Eatinger <seatinger@nvidia.com>
This commit is contained in:
@@ -400,15 +400,15 @@ static int test_nvgpu_bitmap_allocator_init(struct unit_module *m,
|
||||
struct unit_module_test bitmap_allocator_tests[] = {
|
||||
|
||||
/* BA initialized in this test is used by next tests */
|
||||
UNIT_TEST(init, test_nvgpu_bitmap_allocator_init, NULL),
|
||||
UNIT_TEST(init, test_nvgpu_bitmap_allocator_init, NULL, 0),
|
||||
|
||||
/* These tests use bitmap allocator created in the first test */
|
||||
UNIT_TEST(ops, test_nvgpu_bitmap_allocator_ops, NULL),
|
||||
UNIT_TEST(alloc, test_nvgpu_bitmap_allocator_alloc, NULL),
|
||||
UNIT_TEST(free, test_nvgpu_bitmap_allocator_destroy, NULL),
|
||||
UNIT_TEST(ops, test_nvgpu_bitmap_allocator_ops, NULL, 0),
|
||||
UNIT_TEST(alloc, test_nvgpu_bitmap_allocator_alloc, NULL, 0),
|
||||
UNIT_TEST(free, test_nvgpu_bitmap_allocator_destroy, NULL, 0),
|
||||
|
||||
/* Tests GPU_ALLOC_NO_ALLOC_PAGE operations by bitmap allocator */
|
||||
UNIT_TEST(critical, test_nvgpu_bitmap_allocator_critical, NULL),
|
||||
UNIT_TEST(critical, test_nvgpu_bitmap_allocator_critical, NULL, 0),
|
||||
};
|
||||
|
||||
UNIT_MODULE(bitmap_allocator, bitmap_allocator_tests, UNIT_PRIO_NVGPU_TEST);
|
||||
|
||||
Reference in New Issue
Block a user