WSL2-Linux-Kernel/arch/nios2/kernel
Arnd Bergmann 8b2a6074b9 uaccess: fix type mismatch warnings from access_ok()
[ Upstream commit 23fc539e81 ]

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:24:01 +02:00
..
.gitignore
Makefile
asm-offsets.c
cpuinfo.c
entry.S
head.S
insnemu.S
irq.c nios2: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
kgdb.c
misaligned.c
module.c
nios2_ksyms.c
process.c sched: Introduce task_is_running() 2021-06-18 11:43:07 +02:00
prom.c
ptrace.c
setup.c NIOS2: setup.c: drop unused variable 'dram_start' 2021-09-27 08:34:54 -05:00
signal.c uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:24:01 +02:00
sys_nios2.c
syscall_table.c
time.c
traps.c trap: cleanup trap_init() 2021-09-08 11:50:27 -07:00
vmlinux.lds.S