commit | 524a640444ae19593dd4e9e80075041c1ed831bd | [log] [tgz] |
---|---|---|
author | Oded Gabbay <oded.gabbay@amd.com> | Mon Dec 29 13:52:22 2014 +0200 |
committer | Oded Gabbay <oded.gabbay@amd.com> | Tue Jan 06 19:44:26 2015 +0200 |
tree | e485def24cc1bb323fa8916d4c9af790caf52922 | |
parent | 2030664b709caa769f2b6a1d2e71d8cb343c6884 [diff] |
drm/amdkfd: Do copy_to/from_user in general kfd_ioctl() 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>