kernel_samsung_a53x/arch/x86/lib
David Howells ad9d98524e iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
[ Upstream commit 066baf92bed934c9fb4bcee97a193f47aa63431c ]

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 <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20230925120309.1731676-3-dhowells@redhat.com
cc: Dan Williams <dan.j.williams@intel.com>
cc: Thomas Gleixner <tglx@linutronix.de>
cc: Ingo Molnar <mingo@redhat.com>
cc: Borislav Petkov <bp@alien8.de>
cc: Dave Hansen <dave.hansen@linux.intel.com>
cc: "H. Peter Anvin" <hpa@zytor.com>
cc: Alexander Viro <viro@zeniv.linux.org.uk>
cc: Jens Axboe <axboe@kernel.dk>
cc: Christoph Hellwig <hch@lst.de>
cc: Christian Brauner <christian@brauner.io>
cc: Matthew Wilcox <willy@infradead.org>
cc: Linus Torvalds <torvalds@linux-foundation.org>
cc: David Laight <David.Laight@ACULAB.COM>
cc: x86@kernel.org
cc: linux-block@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:42:39 +01:00
..
atomic64_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atomic64_386_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atomic64_cx8_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache-smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
checksum_32.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clear_page_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmdline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmpxchg8b_emu.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmpxchg16b_emu.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copy_mc.c iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user() 2024-11-18 11:42:39 +01:00
copy_mc_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copy_page_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copy_user_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
csum-copy_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
csum-partial_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
csum-wrappers_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
delay.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
error-inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
getuser.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hweight.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
insn-eval.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
insn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iomap_copy_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iomem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kaslr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memcpy_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memcpy_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memmove_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memset_64.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmx_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr-reg-export.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr-reg.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr-smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
putuser.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
retpoline.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
string_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strstr_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usercopy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usercopy_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usercopy_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
x86-opcode-map.txt Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00