Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uaccess: Fix is_source param for check_copy_size() in copy_to_iter_mc…
…safe() 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: 8780356 ("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]>
- Loading branch information