maccess: rename probe_kernel_address to get_kernel_nofault
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Jun 2020 07:37:55 +0000 (09:37 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2020 18:14:40 +0000 (11:14 -0700)
commit25f12ae45fc1931a1dce3cc59f9989a9d87834b0
treec89ffb14ca4cbe9afbf312be9e983377c6de5f35
parentc0ee37e85e0e47402b8bbe35b6cec8e06937ca58
maccess: rename probe_kernel_address to get_kernel_nofault

Better describe what this helper does, and match the naming of
copy_from_kernel_nofault.

Also switch the argument order around, so that it acts and looks
like get_user().

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
20 files changed:
arch/arm/kernel/traps.c
arch/arm/mm/alignment.c
arch/arm64/kernel/traps.c
arch/ia64/include/asm/sections.h
arch/parisc/kernel/process.c
arch/powerpc/include/asm/sections.h
arch/powerpc/kernel/kgdb.c
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/process.c
arch/powerpc/sysdev/fsl_pci.c
arch/riscv/kernel/kgdb.c
arch/riscv/kernel/traps.c
arch/s390/mm/fault.c
arch/sh/kernel/traps.c
arch/x86/kernel/probe_roms.c
arch/x86/kernel/traps.c
arch/x86/mm/fault.c
arch/x86/pci/pcbios.c
include/linux/uaccess.h
lib/test_lockup.c