[PATCH 1/3] drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()

2014-12-29 Thread Oded Gabbay
On 12/29/2014 03:05 PM, Christian König wrote: > Am 29.12.2014 um 13:42 schrieb Oded Gabbay: >> This patch moves the copy_to_user() and copy_from_user() calls from the >> different ioctl functions in amdkfd to the general kfd_ioctl() function, as >> this is a common code for all ioctls. >> >> Th

[PATCH 1/3] drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()

2014-12-29 Thread Christian König
Am 29.12.2014 um 14:22 schrieb Oded Gabbay: > > > On 12/29/2014 03:05 PM, Christian König wrote: >> Am 29.12.2014 um 13:42 schrieb Oded Gabbay: >>> This patch moves the copy_to_user() and copy_from_user() calls from the >>> different ioctl functions in amdkfd to the general kfd_ioctl() >>> functi

[PATCH 1/3] drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()

2014-12-29 Thread Oded Gabbay
This patch moves the copy_to_user() and copy_from_user() calls from the different ioctl functions in amdkfd to the general kfd_ioctl() function, as this is a common code for all ioctls. This was done according to example taken from drm_ioctl.c Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/

[PATCH 1/3] drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()

2014-12-29 Thread Christian König
Am 29.12.2014 um 13:42 schrieb Oded Gabbay: > This patch moves the copy_to_user() and copy_from_user() calls from the > different ioctl functions in amdkfd to the general kfd_ioctl() function, as > this is a common code for all ioctls. > > This was done according to example taken from drm_ioctl.c >