aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2018-09-05 13:31:40 -0700
committerDan Williams <[email protected]>2018-09-12 14:58:47 -0700
commitdfb06cba8c73c0704710b2e3fbe2c35ac66a01b4 (patch)
tree82805fc4baa84daa5ca0a8d62fee0ca1dda2efe0 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
parentb90ca5cc32f59bb214847c6855959702f00c6801 (diff)
uaccess: Fix is_source param for check_copy_size() in copy_to_iter_mcsafe()
copy_to_iter_mcsafe() is passing in the is_source parameter as "false" to check_copy_size(). This is different than what copy_to_iter() does. Also, the addr parameter passed to check_copy_size() is the source so therefore we should be passing in "true" instead. Fixes: 8780356ef630 ("x86/asm/memcpy_mcsafe: Define copy_to_iter_mcsafe()") Cc: <[email protected]> Reported-by: Fan Du <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Reviewed-by: Vishal Verma <[email protected]> Reported-by: Wenwei Tao <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions