[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <d6ddfe21-8596-4311-a229-4b1501fa84b4@app.fastmail.com>
Date: Tue, 28 May 2024 14:39:42 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Stephen Rothwell" <sfr@...b.auug.org.au>,
"Christian Brauner" <brauner@...nel.org>
Cc: Christian Göttsche <cgzones@...glemail.com>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
linux-next <linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the vfs-brauner tree
On Tue, May 28, 2024, at 05:31, Stephen Rothwell wrote:
> From: Stephen Rothwell <sfr@...b.auug.org.au>
> Date: Tue, 28 May 2024 13:20:29 +1000
> Subject: [PATCH] fix up for "fs/xattr: add *at family syscalls"
>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> ---
> fs/xattr.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/fs/xattr.c b/fs/xattr.c
> index 8e712795ab80..d0d54ae2f9cb 100644
> --- a/fs/xattr.c
> +++ b/fs/xattr.c
> @@ -706,7 +706,8 @@ SYSCALL_DEFINE6(setxattrat, int, dfd, const char
> __user *, pathname, unsigned in
> if (error)
> return error;
>
> - return do_setxattrat(dfd, pathname, at_flags, name, (const void
> __user *)args.value,
> + return do_setxattrat(dfd, pathname, at_flags, name,
> + (const void __user *)(unsigned long)args.value,
> args.size, args.flags);
> }
>
We have a u64_to_user_ptr() helper to make this slightly
more readable.
Arnd
Powered by blists - more mailing lists