I have cross checked this use case. This was tested, but i doesn't work
any more. So i need a little bit time to fix it. The macro for this are
a little bit tricky, but i think there is a way to solve this issue.
For the next two weeks i am heavy busy in a final project stage, so
please be patient
So, this kfifo API... Here's an example:
Let's say that we want a kfifo of structure pointers:
DECLARE_KFIFO(my_ptr_kfifo, struct my_struct *, SIZE);
Now, to extract pointers from this, it's relatively straight forward:
struct my_struct *ptr;
success = kfifo_get(&my_pt
2 matches
Mail list logo