diff options
| author | Peter Zijlstra <[email protected]> | 2023-06-16 12:43:55 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2023-07-10 07:52:28 +0000 |
| commit | 719a937b7003933de1298ffa4b881dd6a234e244 (patch) | |
| tree | b60da666c621cee87ae01ceb925e3b60022d56aa /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | objtool: initialize all of struct elf (diff) | |
| download | kernel-719a937b7003933de1298ffa4b881dd6a234e244.tar.gz kernel-719a937b7003933de1298ffa4b881dd6a234e244.zip | |
iov_iter: Mark copy_iovec_from_user() noclone
Extend commit 50f9a76ef127 ("iov_iter: Mark
copy_compat_iovec_from_user() noinline") to also cover
copy_iovec_from_user(). Different compiler versions cause the same
problem on different functions.
lib/iov_iter.o: warning: objtool: .altinstr_replacement+0x1f: redundant UACCESS disable
lib/iov_iter.o: warning: objtool: iovec_from_user+0x84: call to copy_iovec_from_user.part.0() with UACCESS enabled
lib/iov_iter.o: warning: objtool: __import_iovec+0x143: call to copy_iovec_from_user.part.0() with UACCESS enabled
Fixes: 50f9a76ef127 ("iov_iter: Mark copy_compat_iovec_from_user() noinline")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
