commit | 7cce8e4efe5e782e130f79f8d55fdad48f2db52d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Feb 14 10:19:27 2019 +0300 |
committer | Rob Clark <robdclark@gmail.com> | Tue Feb 19 14:53:50 2019 -0500 |
tree | 89184b852f548cedf083525bfd046c37d33a23ca | |
parent | b6bd458c16ac2a7122fc4bc62bbdc66c9310ded7 [diff] |
drm/msm: fix an error code in the ioctl The copy_to/from_user() functions return the number of bytes remaining to be copied but we should return -EFAULT to the user. Fixes: f05c83e77460 ("drm/msm: add uapi to get/set debug name") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rob Clark <robdclark@gmail.com>