diff options
author | vibi sreenivasan <vibi_sreenivasan@cms.com> | 2009-06-04 20:59:17 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:54 -0700 |
commit | 7a80bfcd1f4bac61d586d3551f74215ff02e9cba (patch) | |
tree | 3afb5bda553dd061a612384ab3c6ea7bae471b27 /include/linux/rio.h | |
parent | 8d2db5169d103d03646e7b7e93798739b2290d22 (diff) |
Staging: rspiusb: copy_to/from_user related fixes
The patch does copy_to/from_user related fixes
*) __copy_from/to_user is enough for user space data buffer checked by access_ok.
*) return -EFAULT if __copy_from/to_user fails.
*) Do not use memcpy to copy from user space.
Signed-off-by: Vibi Sreenivasan <vibi_sreenivasan@cms.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/rio.h')
0 files changed, 0 insertions, 0 deletions