Skip to content

Commit ad364f4

Browse files
computersforpeacedanvet
authored andcommitted
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
1 parent 8038e09 commit ad364f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/vgem/vgem_drv.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ static const struct file_operations vgem_driver_fops = {
278278
.poll = drm_poll,
279279
.read = drm_read,
280280
.unlocked_ioctl = drm_ioctl,
281+
.compat_ioctl = drm_compat_ioctl,
281282
.release = drm_release,
282283
};
283284

0 commit comments

Comments
 (0)