[ 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> |
||
|---|---|---|
| .. | ||
| probes | ||
| Makefile | ||
| asm-offsets.c | ||
| atomic.S | ||
| cpu-probe.c | ||
| entry.S | ||
| ftrace.c | ||
| head.S | ||
| irq.c | ||
| module.c | ||
| perf_callchain.c | ||
| perf_event.c | ||
| perf_regs.c | ||
| power.c | ||
| process.c | ||
| ptrace.c | ||
| setup.c | ||
| signal.c | ||
| smp.c | ||
| stacktrace.c | ||
| syscall.c | ||
| syscall_table.c | ||
| time.c | ||
| traps.c | ||
| vdso.c | ||
| vmlinux.lds.S | ||