diff options
author | David Howells <[email protected]> | 2023-09-25 13:02:59 +0100 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-09-25 14:30:27 +0200 |
commit | 066baf92bed934c9fb4bcee97a193f47aa63431c (patch) | |
tree | a9b42fe9b564c941f588faeb795c10bb861b70f1 /tools/perf/scripts/python/task-analyzer.py | |
parent | 581beb4fe37d17571c87058d13d298d5458e25e9 (diff) |
iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
copy_mc_to_user() has the destination marked __user on powerpc, but not on
x86; the latter results in a sparse warning in lib/iov_iter.c.
Fix this by applying the tag on x86 too.
Fixes: ec6347bb4339 ("x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()")
Signed-off-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Dan Williams <[email protected]>
cc: Thomas Gleixner <[email protected]>
cc: Ingo Molnar <[email protected]>
cc: Borislav Petkov <[email protected]>
cc: Dave Hansen <[email protected]>
cc: "H. Peter Anvin" <[email protected]>
cc: Alexander Viro <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Christoph Hellwig <[email protected]>
cc: Christian Brauner <[email protected]>
cc: Matthew Wilcox <[email protected]>
cc: Linus Torvalds <[email protected]>
cc: David Laight <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions