summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-06-20 13:39:14 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-06-23 10:06:31 +0200
commit6545135a5ed2eac064f23bee3a19a81cfffbe573 (patch)
treed2167f5f3ea3a5c7d19872a5346cf9e409ad0377 /include/uapi/drm
parent8814b40bf6b2293eede832d35957b4e9ba495ae3 (diff)
drm/qxl: fix __user annotations
Drop them from u64 fields, tag local variables correctly instead. While being at it switch the code to use u64_to_user_ptr(). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Daniel Vetter <daniel@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170620113916.6967-2-kraxel@redhat.com
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/qxl_drm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi/drm/qxl_drm.h
index 7eef42213051..880999d2d863 100644
--- a/include/uapi/drm/qxl_drm.h
+++ b/include/uapi/drm/qxl_drm.h
@@ -80,8 +80,8 @@ struct drm_qxl_reloc {
};
struct drm_qxl_command {
- __u64 __user command; /* void* */
- __u64 __user relocs; /* struct drm_qxl_reloc* */
+ __u64 command; /* void* */
+ __u64 relocs; /* struct drm_qxl_reloc* */
__u32 type;
__u32 command_size;
__u32 relocs_num;
@@ -91,7 +91,7 @@ struct drm_qxl_command {
struct drm_qxl_execbuffer {
__u32 flags; /* for future use */
__u32 commands_num;
- __u64 __user commands; /* struct drm_qxl_command* */
+ __u64 commands; /* struct drm_qxl_command* */
};
struct drm_qxl_update_area {