aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
diff options
context:
space:
mode:
authorBijan Mottahedeh <[email protected]>2018-12-04 00:48:23 +0000
committerMichael S. Tsirkin <[email protected]>2019-01-15 01:28:08 +0000
commit8e5dadfe76cf2862ebf3e4f22adef29982df7766 (patch)
treed5be0bca9014695f3b8abaa89e26d7256605333f /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
parentvhost: return EINVAL if iovecs size does not match the message size (diff)
downloadkernel-8e5dadfe76cf2862ebf3e4f22adef29982df7766.tar.gz
kernel-8e5dadfe76cf2862ebf3e4f22adef29982df7766.zip
vhost/scsi: Use copy_to_iter() to send control queue response
Uses copy_to_iter() instead of __copy_to_user() in order to ensure we support arbitrary layouts and an input buffer split across iov entries. Fixes: 0d02dbd68c47b ("vhost/scsi: Respond to control queue operations") Signed-off-by: Bijan Mottahedeh <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions