Dan Carpenter
2d98bb22c3
Staging: rc2860: return -EFAULT on copy_to_user errors
...
copy_to_user() returns the number of bytes remaining but we want to
return a negative error code. This is in the ioctl handler and the
error code gets passed to userspace.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-04 13:38:58 -07:00
..
2010-05-11 11:35:42 -07:00
2010-05-11 11:35:42 -07:00
2010-05-25 08:07:05 -07:00
2010-05-20 13:21:38 -07:00
2010-05-11 11:35:34 -07:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:15 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2010-03-03 16:42:48 -08:00
2009-12-11 12:23:12 -08:00
2010-05-14 13:16:10 -07:00
2009-12-11 12:23:19 -08:00
2010-05-11 11:35:34 -07:00
2009-12-11 12:23:15 -08:00
2010-05-11 16:06:48 -07:00
2010-05-11 11:35:42 -07:00
2010-05-11 11:35:42 -07:00
2010-05-11 11:35:42 -07:00
2010-05-11 11:35:42 -07:00
2009-12-11 12:23:19 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:19 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2010-05-25 08:07:05 -07:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2009-12-11 12:23:16 -08:00
2010-06-04 13:38:58 -07:00
2009-12-11 12:23:16 -08:00
2010-05-21 12:48:55 -07:00
2009-12-11 12:23:16 -08:00