Re: [PATCH] drm: Add missing field copy in compat_drm_version

2017-07-14 Thread Al Viro
On Thu, Jul 13, 2017 at 02:36:55PM +0200, Daniel Vetter wrote: > On Wed, Jul 12, 2017 at 02:18:32PM +0800, Jeffy Chen wrote: > > DRM_IOCTL_VERSION is supposed to update the name_len/date_len/desc_len > > fields to user. > > > > Fixes: 012c6741c6aa("switch compat_drm_version() to

Re: [PATCH] drm: Add missing field copy in compat_drm_version

2017-07-13 Thread Daniel Vetter
On Wed, Jul 12, 2017 at 02:18:32PM +0800, Jeffy Chen wrote: > 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 Reviewed-by:

[PATCH] drm: Add missing field copy in compat_drm_version

2017-07-12 Thread Jeffy Chen
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 --- drivers/gpu/drm/drm_ioc32.c | 3 +++ 1 file changed, 3 insertions(+) diff