commit | 5745d21f9a92fa3b70149df69574a13becc3d53e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jul 13 13:35:29 2016 +0300 |
committer | Rob Clark <robdclark@gmail.com> | Sat Jul 16 10:29:32 2016 -0400 |
tree | ff3a878abd84eafc7b77c146a73c1f8192a8df4f | |
parent | 06f3217207766b4bc2e56b88e0736037ae92fd30 [diff] |
drm/msm: return -EFAULT instead of bytes remaining copy_to/from_user returns the number of bytes remaining to be copied but we want to return -EFAULT. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rob Clark <robdclark@gmail.com>