drm/qxl: fix __user annotations
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Jun 2017 11:39:14 +0000 (13:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Jun 2017 08:06:31 +0000 (10:06 +0200)
commit6545135a5ed2eac064f23bee3a19a81cfffbe573
treed2167f5f3ea3a5c7d19872a5346cf9e409ad0377
parent8814b40bf6b2293eede832d35957b4e9ba495ae3
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
drivers/gpu/drm/qxl/qxl_ioctl.c
include/uapi/drm/qxl_drm.h