Skip to content

Commit

Permalink
drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()
Browse files Browse the repository at this point in the history
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 <oded.gabbay@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
  • Loading branch information
Oded Gabbay committed Jan 6, 2015
1 parent 2030664 commit 524a640
Showing 1 changed file with 117 additions and 117 deletions.
Loading

0 comments on commit 524a640

Please sign in to comment.