From: Palmer Dabbelt Date: Tue, 11 Jul 2023 16:16:03 +0000 (+0200) Subject: Non-functional cleanup of a "__user * filename" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=06a0213977dc5f8345c1222183b8fafac1a8a524;p=linux.git Non-functional cleanup of a "__user * filename" The next patch defines a very similar interface, which I copied from this definition. Since I'm touching it anyway I don't see any reason not to just go fix this one up. Signed-off-by: Palmer Dabbelt Acked-by: Arnd Bergmann Message-Id: Signed-off-by: Christian Brauner --- diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 03e3d0121d5e3..584f404bf868f 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -438,7 +438,7 @@ asmlinkage long sys_chdir(const char __user *filename); asmlinkage long sys_fchdir(unsigned int fd); asmlinkage long sys_chroot(const char __user *filename); asmlinkage long sys_fchmod(unsigned int fd, umode_t mode); -asmlinkage long sys_fchmodat(int dfd, const char __user * filename, +asmlinkage long sys_fchmodat(int dfd, const char __user *filename, umode_t mode); asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag);