test_memory(void)
{
uint64_t s;
- unsigned i, j;
+ unsigned i;
+ size_t j;
const struct rte_memseg *mem;
/*
return 0;
}
-static struct test_command memory_cmd = {
- .command = "memory_autotest",
- .callback = test_memory,
-};
-REGISTER_TEST_COMMAND(memory_cmd);
+REGISTER_TEST_COMMAND(memory_autotest, test_memory);