diff options
author | Dan Carpenter | 2013-11-08 13:07:37 +0300 |
---|---|---|
committer | Thierry Reding | 2013-12-03 10:14:03 +0100 |
commit | 9a991600e379641b9c16310b87ca848b6da01c24 (patch) | |
tree | dcc8b45afed526275807c95d78e044a4118f434e /usr | |
parent | d24b2898ceea603864c6d12540d6768edcc9cd40 (diff) |
drm/tegra: return -EFAULT if copy_from_user() fails
copy_from_user() returns the number of bytes remaining if it fails, but
we want to return -EFAULT here.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions