git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24b289
)
drm/tegra: return -EFAULT if copy_from_user() fails
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 8 Nov 2013 10:07:37 +0000
(13:07 +0300)
committer
Thierry Reding
<treding@nvidia.com>
Tue, 3 Dec 2013 09:14:03 +0000
(10:14 +0100)
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>
No differences found