mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-26 15:13:25 +00:00
@ -25,6 +25,7 @@ static int compare(void *a, void *b)
|
||||
static int release(void *value)
|
||||
{
|
||||
// kdebug("release");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -36,7 +36,7 @@ static long ktest_idr_case0(uint64_t arg0, uint64_t arg1)
|
||||
assert(idr_pre_get(&k_idr, 0) == 0);
|
||||
assert(k_idr.id_free_cnt == IDR_FREE_MAX);
|
||||
|
||||
for (int i = 1; i < 64; i++)
|
||||
for (uint64_t i = 1; i < 64; i++)
|
||||
{
|
||||
int id = __lowbit_id(i), chk_id = -1;
|
||||
for (int j = 0; j < 64; j++)
|
||||
|
@ -146,6 +146,7 @@ static long ktest_kfifo_case0_1(uint64_t arg0, uint64_t arg1)
|
||||
kfifo_free_alloc(&fifo);
|
||||
assert(fifo.buffer == NULL);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static ktest_case_table kt_kfifo_func_table[] = {
|
||||
|
Reference in New Issue
Block a user