Results 1 to 2 of 2
Hi,
I am currently writing a device driver and i wounder if it is safe to use copy_to_user on an __iomem pointer return by ioremap()? Or do I have to ...
- 02-25-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
Is it safe to use copy_to_user on a __iomem pointer returned by ioremap?
Hi,
I am currently writing a device driver and i wounder if it is safe to use copy_to_user on an __iomem pointer return by ioremap()? Or do I have to copy with memcpy_fromio() to an kmalloced buffer in the driver first and then copy_to_user?
Thanks
- 02-26-2010 #2Just Joined!
- Join Date
- Feb 2010
- Posts
- 1


Reply With Quote

