Manisha Maheshwari wrote:
Hi all,
I am trying to convert user virtual address to kernel virtual address
using get_user_pages.
But i am gettin the worng kernel virtual address.
what function should i use to do his conversion??
You should not need address conversion. You can directly
pass the user virtual address to copy_from_user or copy_to_user
and the right thing will happen.
--
What is important? What you want to be true, or what is true?
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/