drm/vgem: add compat_ioctl support
authorBrian Norris <briannorris@chromium.org>
Sat, 15 Jul 2017 03:12:12 +0000 (20:12 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Jul 2017 19:08:31 +0000 (21:08 +0200)
commitad364f447e367a4b997cc75093600663caeedb68
tree1fbe445a30cf34dbb61ee87eb2c6ced7cb56b202
parent8038e09be5a3ac061118bd80c7a505829920b50f
drm/vgem: add compat_ioctl support

DRM drivers should supply a compat version if they're going to provide
an ioctl implementation at all. This can confuse 32-bit user space on a
64-bit system.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170715031212.108695-1-briannorris@chromium.org
drivers/gpu/drm/vgem/vgem_drv.c