[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-03 Thread Jarkko Sakkinen
On 07/02/2015 11:10 AM, Jani Nikula wrote: > On Wed, 01 Jul 2015, Jarkko Sakkinen > wrote: >> The compat ioctl handler ends up calling access_ok() twice: first >> indirectly inside compat_alloc_user_space() and then after returning >> from that function. This patch fixes issue. >> >>

[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-03 Thread Jarkko Sakkinen
On 07/02/2015 10:32 AM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 12:24:37PM +0300, Jarkko Sakkinen wrote: >> The compat ioctl handler ends up calling access_ok() twice: first >> indirectly inside compat_alloc_user_space() and then after returning >> from that function. This patch fixes

[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-02 Thread Daniel Vetter
On Thu, Jul 02, 2015 at 11:10:06AM +0300, Jani Nikula wrote: > On Wed, 01 Jul 2015, Jarkko Sakkinen > wrote: > > The compat ioctl handler ends up calling access_ok() twice: first > > indirectly inside compat_alloc_user_space() and then after returning > > from that function. This patch fixes

[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-02 Thread Jani Nikula
On Wed, 01 Jul 2015, Jarkko Sakkinen wrote: > The compat ioctl handler ends up calling access_ok() twice: first > indirectly inside compat_alloc_user_space() and then after returning > from that function. This patch fixes issue. > > Signed-off-by: Jarkko Sakkinen > --- >

[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-02 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 12:24:37PM +0300, Jarkko Sakkinen wrote: > The compat ioctl handler ends up calling access_ok() twice: first > indirectly inside compat_alloc_user_space() and then after returning > from that function. This patch fixes issue. > > Signed-off-by: Jarkko Sakkinen Applied to

[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-01 Thread Jarkko Sakkinen
The compat ioctl handler ends up calling access_ok() twice: first indirectly inside compat_alloc_user_space() and then after returning from that function. This patch fixes issue. Signed-off-by: Jarkko Sakkinen --- drivers/gpu/drm/drm_ioc32.c | 55 + 1