diff --git a/kernel_module/src/f_list.c b/kernel_module/src/f_list.c index ea35841..1fd9c12 100644 --- a/kernel_module/src/f_list.c +++ b/kernel_module/src/f_list.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include "../include/f_list.h" @@ -26,12 +27,18 @@ static LIST_HEAD(f_list); static unsigned int* get_randoms(unsigned int id){ int i = 0; unsigned int *fts = NULL; + uint64_t value; fts = kzalloc(NUM*sizeof(unsigned int), GFP_KERNEL); if(fts == NULL) return NULL; + for(i=0;i