From: Oded Gabbay Date: Mon, 29 Dec 2014 11:52:22 +0000 (+0200) Subject: drm/amdkfd: Do copy_to/from_user in general kfd_ioctl() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~306^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=524a640444ae19593dd4e9e80075041c1ed831bd;p=pandora-kernel.git 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 Reviewed-by: Christian König --- Reading git-diff-tree failed