Dan Carpenter d233807018 tehuti: 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 here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-03 03:28:23 -07:00
..
2010-05-25 19:41:19 -04:00
2010-05-28 01:38:02 +02:00
2010-05-27 09:12:40 -07:00
2010-05-25 00:48:24 -06:00
2010-05-25 08:07:07 -07:00