drm: Add missing field copy in compat_drm_version
authorJeffy Chen <jeffy.chen@rock-chips.com>
Wed, 12 Jul 2017 06:18:32 +0000 (14:18 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jul 2017 18:25:04 +0000 (11:25 -0700)
commit266530b34cb679188d5b2bd6e580b8105f4cb593
tree00d175007ae4f5d32f914c95c49e82e9fe48c87a
parent4ca6df134847a6349620b485a3e63f00fb3bfad8
drm: Add missing field copy in compat_drm_version

DRM_IOCTL_VERSION is supposed to update the name_len/date_len/desc_len
fields to user.

Fixes: 012c6741c6aa ("switch compat_drm_version() to drm_ioctl_kernel()")
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/drm_ioc32.c