diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-07-27 19:42:35 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-08-02 02:11:48 +0300 |
commit | cdbc78ba702650b02b9e3e957dbaa725423bdf1e (patch) | |
tree | 3ff9edd5e22c47852aeee7f4205e97c0cd9977ea /include/uapi/drm/msm_drm.h | |
parent | b0135ab91af16be57e444e74023e48b1f379ab36 (diff) | |
download | linux-cdbc78ba702650b02b9e3e957dbaa725423bdf1e.tar.xz |
drm/msm: Remove __user from __u64 data types
__user should be used to identify user pointers and not __u64
variables containing pointers.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include/uapi/drm/msm_drm.h')
-rw-r--r-- | include/uapi/drm/msm_drm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h index 26c54f6d595d..ad4eb2863e70 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h @@ -171,7 +171,7 @@ struct drm_msm_gem_submit_cmd { __u32 size; /* in, cmdstream size */ __u32 pad; __u32 nr_relocs; /* in, number of submit_reloc's */ - __u64 __user relocs; /* in, ptr to array of submit_reloc's */ + __u64 relocs; /* in, ptr to array of submit_reloc's */ }; /* Each buffer referenced elsewhere in the cmdstream submit (ie. the @@ -215,8 +215,8 @@ struct drm_msm_gem_submit { __u32 fence; /* out */ __u32 nr_bos; /* in, number of submit_bo's */ __u32 nr_cmds; /* in, number of submit_cmd's */ - __u64 __user bos; /* in, ptr to array of submit_bo's */ - __u64 __user cmds; /* in, ptr to array of submit_cmd's */ + __u64 bos; /* in, ptr to array of submit_bo's */ + __u64 cmds; /* in, ptr to array of submit_cmd's */ __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */ }; |