]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b425145c10debab4ce3ec947d6f161db32c2780
treed2167f5f3ea3a5c7d19872a5346cf9e409ad0377
parent580fd0a21fe97120331c63f95e77ed499c2a64cb
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