kernel_optimize_test/arch/nios2/kernel
Arnd Bergmann 40a5c93a74 uaccess: fix type mismatch warnings from access_ok()
[ Upstream commit 23fc539e81295b14b50c6ccc5baeb4f3d59d822d ]

On some architectures, access_ok() does not do any argument type
checking, so replacing the definition with a generic one causes
a few warnings for harmless issues that were never caught before.

Fix the ones that I found either through my own test builds or
that were reported by the 0-day bot.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:35 +02:00
..
.gitignore
asm-offsets.c
cpuinfo.c
entry.S nios2: fixed broken sys_clone syscall 2021-03-04 11:38:16 +01:00
head.S
insnemu.S
irq.c
kgdb.c
Makefile
misaligned.c
module.c
nios2_ksyms.c
process.c sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
prom.c
ptrace.c
setup.c
signal.c uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:40:35 +02:00
sys_nios2.c Take mmap lock in cacheflush syscall 2021-03-04 11:38:16 +01:00
syscall_table.c
time.c
traps.c
vmlinux.lds.S vmlinux.lds.h: Split ELF_DETAILS from STABS_DEBUG 2020-09-01 09:50:35 +02:00