mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
BACKPORT: 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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Change-Id: Ia3e47b1cbf80a23b85dc408b3d90db770a27a3dd
This commit is contained in:
parent
9bb3688be7
commit
2fbd504840
18 changed files with 36 additions and 36 deletions
|
|
@ -855,7 +855,7 @@ static void md_dump_data(unsigned long addr, int nbytes, const char *name)
|
|||
if (__is_lm_address(p) &&
|
||||
kern_addr_valid((unsigned long)p) &&
|
||||
page_accessible(page_to_pfn(virt_to_page(p))) &&
|
||||
!probe_kernel_address(p, data))
|
||||
!get_kernel_nofault(data, p))
|
||||
seq_buf_printf(md_cntxt_seq_buf, " %08x",
|
||||
data);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue