commit | d23380701876dd93d310b2548c51d0f78f25d7aa | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Thu Jun 03 00:05:35 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 03 03:28:23 2010 -0700 |
tree | 37678ef819eb3bccb1c96498448e3a09a4aea35b | |
parent | 60a5711db646b87b9530b16cbaf3bd53ac5594a5 [diff] |
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>