diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-12-29 14:52:22 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2015-01-06 20:44:26 +0300 |
commit | 524a640444ae19593dd4e9e80075041c1ed831bd (patch) | |
tree | e485def24cc1bb323fa8916d4c9af790caf52922 /net/sctp/chunk.c | |
parent | 2030664b709caa769f2b6a1d2e71d8cb343c6884 (diff) | |
download | linux-524a640444ae19593dd4e9e80075041c1ed831bd.tar.xz |
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>
Diffstat (limited to 'net/sctp/chunk.c')
0 files changed, 0 insertions, 0 deletions