summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2017-07-26 08:47:09 -0600
committerSushmita Susheelendra <ssusheel@codeaurora.org>2017-08-20 14:03:20 -0600
commit214aa354fdd809314f7c1265eaf45222bdb0886e (patch)
treeab3c23cadc5e0f7d11908895e596edb7a999d08b /include/uapi
parent49397ce3afd4c9725515b33af3ef363c099da895 (diff)
drm/msm: Remove __user from __u64 data types
__user should be used to identify user pointers and not __u64 variables containing pointers. Change-Id: Ic0dedbad30b0244e7fa3b34858d5020001b87330 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/msm_drm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 8b51873e7b08..a852f2a3701f 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -234,7 +234,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
@@ -274,8 +274,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; /* gap for the fence_fd which is upstream */
__u32 queueid; /* in, submitqueue id */
};