The patch titled Subject: prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm-fix has been removed from the -mm tree. Its filename was prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm-fix.patch This patch was dropped because it was folded into prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm.patch ------------------------------------------------------ From: Cyrill Gorcunov <gorcunov@xxxxxxxxxx> Subject: prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm-fix prctl: prctl_set_mm - Cast type of @addr The sparse tool warns about type casting > kernel/sys.c:1048:38: sparse: incorrect type in argument 2 (different modifiers) Fix it with explicit type convention. Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/sys.c~prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm-fix kernel/sys.c --- a/kernel/sys.c~prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm-fix +++ a/kernel/sys.c @@ -1865,7 +1865,7 @@ static int prctl_set_mm(int opt, unsigne if (opt == PR_SET_MM_EXE_FILE) return prctl_set_mm_exe_file(mm, (unsigned int)addr); - if (!access_ok(VERIFY_READ, addr, sizeof(addr)) || addr < mmap_min_addr) + if (!access_ok(VERIFY_READ, (void *)addr, sizeof(addr)) || addr < mmap_min_addr) return -EINVAL; error = -EINVAL; _ Patches currently in -mm which might be from gorcunov@xxxxxxxxxx are origin.patch linux-next.patch prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm.patch prctl-use-access_ok-instead-of-task_size-in-prctl_set_mm-fix-fix.patch x86-pat-remove-the-dependency-on-vm_pgoff-in-track-untrack-pfn-vma-routines.patch x86-pat-separate-the-pfn-attribute-tracking-for-remap_pfn_range-and-vm_insert_pfn.patch mm-x86-pat-rework-linear-pfn-mmap-tracking.patch mm-introduce-arch-specific-vma-flag-vm_arch_1.patch mm-kill-vma-flag-vm_insertpage.patch mm-kill-vma-flag-vm_can_nonlinear.patch mm-use-mm-exe_file-instead-of-first-vm_executable-vma-vm_file.patch mm-kill-vma-flag-vm_executable-and-mm-num_exe_file_vmas.patch mm-prepare-vm_dontdump-for-using-in-drivers.patch mm-kill-vma-flag-vm_reserved-and-mm-reserved_vm-counter.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html