The patch titled uml: fix warnings in kernel_execve has been added to the -mm tree. Its filename is uml-fix-warnings-in-kernel_execve.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: uml: fix warnings in kernel_execve From: Miklos Szeredi <mszeredi@xxxxxxx> Fix the following warnings: arch/um/kernel/syscall.c: In function 'kernel_execve': arch/um/kernel/syscall.c:130: warning: passing argument 1 of 'um_execve' discards qualifiers from pointer target type arch/um/kernel/syscall.c:130: warning: passing argument 2 of 'um_execve' discards qualifiers from pointer target type arch/um/kernel/syscall.c:130: warning: passing argument 3 of 'um_execve' discards qualifiers from pointer target type Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx> Cc: Jeff Dike <jdike@xxxxxxxxxxx> Cc: WANG Cong <xiyou.wangcong@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/um/kernel/syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN arch/um/kernel/syscall.c~uml-fix-warnings-in-kernel_execve arch/um/kernel/syscall.c --- a/arch/um/kernel/syscall.c~uml-fix-warnings-in-kernel_execve +++ a/arch/um/kernel/syscall.c @@ -127,7 +127,8 @@ int kernel_execve(const char *filename, fs = get_fs(); set_fs(KERNEL_DS); - ret = um_execve(filename, argv, envp); + ret = um_execve((char *)filename, (char __user *__user *)argv, + (char __user *__user *) envp); set_fs(fs); return ret; _ Patches currently in -mm which might be from mszeredi@xxxxxxx are origin.patch linux-next.patch vfs-fix-vfs_rename_dir-for-fs_rename_does_d_move-filesystems.patch uml-fix-compile-error-from-net_device_ops-conversion.patch uml-fix-link-error-from-prefixing-of-i386-syscalls-with-ptregs_.patch uml-fix-warnings-in-kernel_execve.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