diff options
author | Dan Carpenter <error27@gmail.com> | 2010-06-03 02:05:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 12:28:23 +0200 |
commit | d23380701876dd93d310b2548c51d0f78f25d7aa (patch) | |
tree | 37678ef819eb3bccb1c96498448e3a09a4aea35b /drivers/net/epic100.c | |
parent | isdn/kcapi: return -EFAULT on copy_from_user errors (diff) | |
download | linux-d23380701876dd93d310b2548c51d0f78f25d7aa.tar.xz linux-d23380701876dd93d310b2548c51d0f78f25d7aa.zip |
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>
Diffstat (limited to 'drivers/net/epic100.c')
0 files changed, 0 insertions, 0 deletions